A function defined in GMBullet.yy
btGearConstraint_create(rigidBodyA, rigidBodyB, axisInA, axisInB[, ratio])
Creates a gear constraint between two rigid bodies.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
A pointer to the first btRigidBody involved in the gear constraint. |
rigidBodyB | Pointer |
A pointer to the second btRigidBody involved in the gear constraint. |
axisInA | Pointer |
A pointer to the axis (btVector3) for the first body. |
axisInB | Pointer |
A pointer to the axis (btVector3) for the second body. |
ratio | Real |
The gear ratio. Defaults to 1.0 if not provided. |
Pointer
A pointer to the created btGearConstraint.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.