btPoint2PointConstraint_create2XYZ

A function defined in GMBullet.yy

btPoint2PointConstraint_create2XYZ(rigidBodyA, rigidBodyB, pivotInAX, pivotInAY, pivotInAZ, pivotInBX, pivotInBY, pivotInBZ)

Description

Creates a btPoint2PointConstraint between two rigid bodies, each with their respective pivot points specified by coordinates in their local coordinate systems.

Arguments

Name Type Description
rigidBodyA Pointer The pointer to the first btRigidBody that the constraint is attached to.
rigidBodyB Pointer The pointer to the second btRigidBody that the constraint is attached to.
pivotInAX Real The x-coordinate of the pivot point in the local coordinate system of rigidBodyA.
pivotInAY Real The y-coordinate of the pivot point in the local coordinate system of rigidBodyA.
pivotInAZ Real The z-coordinate of the pivot point in the local coordinate system of rigidBodyA.
pivotInBX Real The x-coordinate of the pivot point in the local coordinate system of rigidBodyB.
pivotInBY Real The y-coordinate of the pivot point in the local coordinate system of rigidBodyB.
pivotInBZ Real The z-coordinate of the pivot point in the local coordinate system of rigidBodyB.

Returns

Pointer A pointer to the created btPoint2PointConstraint.


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