class PhysicsConeTwistJointSource
PhysicsConeTwistJoint › PhysicsJoint
All members, including inherited
Methods 2
Sets span values of limits. Span represents range from -limit to limit.
limitIndex- Index of the limit (3 - twist, 4 - swing2, 5 - swing1)
limitValue- Value of the limit
proto external void SetLimits(float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)Sets various joint parameters. Span value represents range from -limit to limit.
swingSpan1- Value of the swing1 limit (along z-axis)
swingSpan2- Value of the swing2 limit (along y-axis)
twistSpan- Value of the twist limit (along x-axis)
softness- Softness of the joint. See \ref jointParameters "details"
biasFactor- Bias factor of the joint. See \ref jointParameters "details"
relaxationFactor- Relaxation factor of the joint. See \ref jointParameters "details"