A function defined in GMBullet.yy
btSliderConstraint_create2(rigidBodyA, rigidBodyB, transformA, transformB, useLinearReferenceFrameA)
Creates a slider constraint between rigidBodyA and rigidBodyB with specified transforms, optionally using a linear reference frame A.
Name | Type | Description |
---|---|---|
rigidBodyA | Pointer |
Pointer to the btRigidBody instance for rigid body A. |
rigidBodyB | Pointer |
Pointer to the btRigidBody instance for rigid body B. |
transformA | Pointer |
Pointer to the btTransform instance specifying the transform for rigid body A. |
transformB | Pointer |
Pointer to the btTransform instance specifying the transform for rigid body B. |
useLinearReferenceFrameA | Bool |
A boolean indicating whether to use a linear reference frame A for the constraint. |
Pointer
Returns a pointer to the created btSliderConstraint instance.
Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.