btHingeConstraint_create2Transform

A function defined in GMBullet.yy

btHingeConstraint_create2Transform(rigidBodyA, rigidBodyB, rigidBodyAFrame, rigidBodyBFrame[, useReferenceFrameA])

Description

Creates a btHingeConstraint between two rigid bodies using specified frames in their local spaces.

Arguments

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.

Returns

Pointer Returns a pointer to the created btHingeConstraint.


Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.