View source
class JointConfig
package oimo.dynamics.constraint.joint
extended by CylindricalJointConfig, GenericJointConfig, PrismaticJointConfig, RagdollJointConfig, RevoluteJointConfig, SphericalJointConfig, UniversalJointConfig
A joint configuration is used for constructions of various joints. An instance of any kind of the joint configurations can safely be reused.
Variables
breakForce:Float
The joint will be destroyed when magnitude of the constraint force exceeds the value.
Set 0
for unbreakable joints.
breakTorque:Float
The joint will be destroyed when magnitude of the constraint torque exceeds the value.
Set 0
for unbreakable joints.
positionCorrectionAlgorithm:Int
The type of the position correction algorithm for the joint.
See PositionCorrectionAlgorithm
for details.
solverType:Int
The type of the constraint solver for the joint.
See ConstraintSolverType
for details.