btGeneric6DofSpringConstraint_setEquilibriumPoint

A function defined in GMBullet.yy

btGeneric6DofSpringConstraint_setEquilibriumPoint(generic6DofSpringConstraint[, index[, val]])

Description

Sets the equilibrium point (desired position) for a specified degree of freedom (DOF) in the generic 6-degree-of-freedom spring constraint. If no index or damping is provided, sets the equilibrium point for all DOFs.

Arguments

Name Type Description
generic6DofSpringConstraint Pointer Pointer to the btGeneric6DofSpringConstraint instance.
index Real The index of the degree of freedom (DOF) for which to set the equilibrium point. If not provided, sets the equilibrium point for all DOFs.
val Real The value for the equilibrium point. If not provided, uses the default equilibrium point for the specified DOF.

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