프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LimitAngularVelocity | bool | ||
LimitLinearVelocity | bool |
메소드 | 설명 | |
---|---|---|
AddBody ( |
||
RemoveBody ( |
||
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 RemoveBody ( |
||
body | ||
리턴 | void |
public VelocityLimitController ( float maxLinearVelocity, float maxAngularVelocity ) : System | ||
maxLinearVelocity | float | The max linear velocity. |
maxAngularVelocity | float | The max angular velocity. |
리턴 | System |