btPoint2PointConstraint_create2

A function defined in GMBullet.yy

btPoint2PointConstraint_create2(rigidBodyA, rigidBodyB, pivotInA, pivotInB)

Description

Creates a btPoint2PointConstraint between two rigid bodies, each with their respective pivot points 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.
pivotInA Pointer The pointer to a btVector3 specifying the pivot point in the local coordinate system of rigidBodyA.
pivotInB Pointer The pointer to a btVector3 specifying 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.