btHingeConstraint_create1Transform

A function defined in GMBullet.yy

btHingeConstraint_create1Transform(rigidBodyA, rigidBodyAFrame[, useReferenceFrameA])

Description

Creates a btHingeConstraint between a single rigid body and a specified frame in the local space of the rigid body.

Arguments

Name Type Description
rigidBodyA Pointer The pointer to the btRigidBody representing the first rigid body.
rigidBodyAFrame Pointer The pointer to the frame in the local space of the first 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.