A function defined in GMBullet.yy
btUniversalConstraint_create(rigidBodyA, rigidBodyB, anchor, axis1, axis2)
Creates a new universal constraint between two rigid bodies.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
Pointer to the first rigid body involved in the constraint. |
rigidBodyB | Pointer |
Pointer to the second rigid body involved in the constraint. |
anchor | Pointer |
The anchor point for the constraint, specified as a btVector3. |
axis1 | Pointer |
The first rotational axis, specified as a btVector3. |
axis2 | Pointer |
The second rotational axis, specified as a btVector3. |
Pointer
A pointer to the created btUniversalConstraint instance.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.