btGeneric6DofSpring2Constraint_create2

A function defined in GMBullet.yy

btGeneric6DofSpring2Constraint_create2(rigidBodyA, rigidBodyB, frameInA, frameInB[, rotOrder])

Description

Creates a generic 6-degree-of-freedom spring constraint with two rigid bodies and frames in A and B's local coordinate systems.

Arguments

Name Type Description
rigidBodyA Pointer A pointer to the rigid body A.
rigidBodyB Pointer A pointer to the rigid body B.
frameInA Pointer A pointer to the transformation matrix representing the frame in A's local coordinate system.
frameInB Pointer A pointer to the transformation matrix representing the frame in B's local coordinate system.
rotOrder Real An optional parameter specifying the rotation order for the constraint. Default is RO_XYZ.

Returns

Pointer Returns a pointer to the created btGeneric6DofSpring2Constraint.


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