(Created page with " =Static Public Member Functions= {{ScriptFunction|static SJointLimits|New|(float min, float max, float bounciness, float bounceMinVelocity, float contactDistance);|Creates...") |
|||
Line 3: | Line 3: | ||
=Static Public Member Functions= | =Static Public Member Functions= | ||
− | {{ScriptFunction|static SJointLimits|New|(float min, float max, float bounciness, float bounceMinVelocity, float contactDistance);|Creates a new SJoinLimits with the given min, max, bounciness, bounceMinVelocity and contactDistance.||5=<pre></pre>|6=<pre></pre>}} | + | {{ScriptFunction|<nowiki>static</nowiki> SJointLimits|New|(float min, float max, float bounciness, float bounceMinVelocity, float contactDistance);|Creates a new SJoinLimits with the given min, max, bounciness, bounceMinVelocity and contactDistance.||5=<pre></pre>|6=<pre></pre>}} |
Creates a new SJoinLimits with the given min, max, bounciness, bounceMinVelocity and contactDistance.
Returns this SJointLimits's properties as a string
LimitsString = Space.Host.ExecutingObject.HingeJoint.Limits.ToString()
The lower angular limit (in degrees) of the joint.
Space.Host.ExecutingObject.HingeJoint.Limits.Min = 0
The upper angular limit (in degrees) of the joint.
Max= Space.Host.ExecutingObject.HingeJoint.Limits.Max = 0
Determines the size of the bounce when the joint hits it's limit. Also known as restitution.
Space.Host.ExecutingObject.HingeJoint.Limits.Bounciness = 0
The minimum impact velocity which will cause the joint to bounce.
Space.Host.ExecutingObject.HingeJoint.Limits.BounceMinVelocity = 0
Distance inside the limit value at which the limit will be considered to be active by the solver.
Space.Host.ExecutingObject.HingeJoint.Limits.ContactDistance= 0
|