A function defined in GMBullet.yy
btHingeAccumulatedAngleConstraint_create2Transform(rigidBodyA, rigidBodyB, rigidBodyAFrame, rigidBodyBFrame[, useReferenceFrameA])
Creates a hinge constraint with accumulated angle and links it to two rigid bodies using transforms.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
The pointer to the first rigid body. |
rigidBodyB | Pointer |
The pointer to the second rigid body. |
rigidBodyAFrame | Pointer |
The transform representing the frame of the first rigid body. |
rigidBodyBFrame | Pointer |
The transform representing the frame of the second rigid body. |
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.