Property | Type | Description | |
---|---|---|---|
LimitAngularVelocity | bool | ||
LimitLinearVelocity | bool |
Method | Description | |
---|---|---|
AddBody ( |
||
Update ( float dt ) : void | ||
VelocityLimitController ( ) : System |
Initializes a new instance of the VelocityLimitController class. Sets the max linear velocity to Settings.MaxTranslation Sets the max angular velocity to Settings.MaxRotation
|
|
VelocityLimitController ( float maxLinearVelocity, float maxAngularVelocity ) : System |
Initializes a new instance of the VelocityLimitController class. Pass in 0 or float.MaxValue to disable the limit. maxAngularVelocity = 0 will disable the angular velocity limit.
|
public AddBody ( |
||
body | ||
return | void |
public VelocityLimitController ( float maxLinearVelocity, float maxAngularVelocity ) : System | ||
maxLinearVelocity | float | The max linear velocity. |
maxAngularVelocity | float | The max angular velocity. |
return | System |