A function defined in GMBullet.yy
btHingeAccumulatedAngleConstraint_create1(rigidBodyA, pivotInA, axisInA[, useReferenceFrameA])
Creates a hinge constraint with accumulated angle and links it to a single rigid body.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
The pointer to the first rigid body. |
pivotInA | Pointer |
The pivot point in local space of the first rigid body. |
axisInA | Pointer |
The axis in local space of the first 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.