btHinge2Constraint_create

A function defined in GMBullet.yy

btHinge2Constraint_create(rigidBodyA, rigidBodyB, anchor, axis1, axis2)

Description

Creates a btHinge2Constraint between two rigid bodies using specified anchor and axis vectors.

Arguments

Name Type Description
rigidBodyA Pointer A pointer to the first btRigidBody.
rigidBodyB Pointer A pointer to the second btRigidBody.
anchor Pointer A pointer to a btVector3 representing the anchor point in world space.
axis1 Pointer A pointer to the primary axis of rotation represented as a btVector3 in world space.
axis2 Pointer A pointer to the secondary axis of rotation represented as a btVector3 in world space.

Returns

Pointer A pointer to the created btHinge2Constraint.


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