Метод |
Описание |
|
AddBody ( Body body ) : void |
|
|
RemoveBody ( Body body ) : void |
|
|
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. |
|