btGeneric6DofSpringConstraint_create2

A function defined in GMBullet.yy

btGeneric6DofSpringConstraint_create2(rigidBodyA, rigidBodyB, frameInA, frameInB, useLinearReferenceFrameB)

Description

Creates a new generic 6-degree-of-freedom spring constraint using two rigid bodies and respective frames for the constraint.

Arguments

Name Type Description
rigidBodyA Pointer Pointer to the first rigid body for the constraint.
rigidBodyB Pointer Pointer to the second rigid body for the constraint.
frameInA Pointer Pointer to the frame transformation (btTransform) in the local space of the first rigid body.
frameInB Pointer Pointer to the frame transformation (btTransform) in the local space of the second rigid body.
useLinearReferenceFrameB Bool A boolean indicating whether to use the linear reference frame B (true) or not (false).

Returns

Pointer Pointer to the created btGeneric6DofSpringConstraint instance.


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