btSliderConstraint_create1

A function defined in GMBullet.yy

btSliderConstraint_create1(rigidBodyB, transformB, useLinearReferenceFrameA)

Description

Creates a slider constraint between rigidBodyB and a specified transform, optionally using a linear reference frame A.

Arguments

Name Type Description
rigidBodyB Pointer Pointer to the btRigidBody instance for rigid body B.
transformB Pointer Pointer to the btTransform instance specifying the transform for rigid body B.
useLinearReferenceFrameA Bool A boolean indicating whether to use a linear reference frame A for the constraint.

Returns

Pointer Returns a pointer to the created btSliderConstraint instance.


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