A function defined in GMBullet.yy
btHingeAccumulatedAngleConstraint_create2(rigidBodyA, rigidBodyB, pivotInA, pivotInB, axisInA, axisInB[, useReferenceFrameA])
Creates a hinge constraint with accumulated angle and links it to two rigid bodies.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
The pointer to the first rigid body. |
rigidBodyB | Pointer |
The pointer to the second rigid body. |
pivotInA | Pointer |
The pivot point in local space of the first rigid body. |
pivotInB | Pointer |
The pivot point in local space of the second rigid body. |
axisInA | Pointer |
The axis in local space of the first rigid body around which the hinge rotates. |
axisInB | Pointer |
The axis in local space of the second rigid body around which the hinge rotates. |
useReferenceFrameA | Bool |
A boolean indicating whether to use the reference frame of the first body. Default is false. |
Pointer
Returns a pointer to the created hinge constraint with accumulated angle.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.