btHingeAccumulatedAngleConstraint_create1

A function defined in GMBullet.yy

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

Description

Creates a hinge constraint with accumulated angle and links it to a single rigid body.

Arguments

Name Type Description
rigidBodyA Pointer The pointer to the first rigid body.
pivotInA Pointer The pivot point in local space of the first rigid body.
axisInA Pointer The axis in local space of the first rigid body around which the hinge rotates.
useReferenceFrameA Bool A boolean indicating whether to use the reference frame of the first body. Default is false.

Returns

Pointer Returns a pointer to the created hinge constraint with accumulated angle.


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