btHingeConstraint_create1

A function defined in GMBullet.yy

btHingeConstraint_create1(rigidBodyA, pivotInA, axisInA[, useReferenceFrameA])

Description

Creates a btHingeConstraint between a single rigid body and a pivot point and axis in the local space of the rigid body.

Arguments

Name Type Description
rigidBodyA Pointer The pointer to the btRigidBody representing the first rigid body.
pivotInA Pointer The pointer to the pivot point in the local space of the first rigid body (btVector3).
axisInA Pointer The pointer to the axis in the local space of the first rigid body (btVector3).
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.