A function defined in GMBullet.yy
btHingeConstraint_create2Transform(rigidBodyA, rigidBodyB, rigidBodyAFrame, rigidBodyBFrame[, useReferenceFrameA])
Creates a btHingeConstraint between two rigid bodies using specified frames in their local spaces.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
The pointer to the first btRigidBody participating in the constraint. |
rigidBodyB | Pointer |
The pointer to the second btRigidBody participating in the constraint. |
rigidBodyAFrame | Pointer |
The pointer to the frame in the local space of the first rigid body (btTransform). |
rigidBodyBFrame | Pointer |
The pointer to the frame in the local space of the second rigid body (btTransform). |
useReferenceFrameA | Bool |
Indicates whether to use the reference frame of the first rigid body for the constraint. Default is false. |
Pointer
Returns a pointer to the created btHingeConstraint.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.