SJointLimits

Index

Functions Index

Function Name

override string ToString ()

static SJointLimits New (float min, float max, float bounciness, float bounceMinVelocity, float contactDistance)

Properties Index

Property Name

float Min get set

float Max get set

float Bounciness get set

float BounceMinVelocity get set

float ContactDistance get set

Functions

ToString

override string ToString ()

Returns this SJointLimits's properties as a string

Parameter
Type
Description

New

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.

Parameter
Type
Description

Properties

Min

float Min get set

The lower angular limit (in degrees) of the joint.

Max

float Max get set

The upper angular limit (in degrees) of the joint.

Bounciness

float Bounciness get set

Determines the size of the bounce when the joint hits it's limit. Also known as restitution.

BounceMinVelocity

float BounceMinVelocity get set

The minimum impact velocity which will cause the joint to bounce.

ContactDistance

float ContactDistance get set

Distance inside the limit value at which the limit will be considered to be active by the solver.

Last updated

Was this helpful?