VelocityLimitController Constructor (Single, Single) |
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.
Namespace:
Internal.tainicom.Aether.Physics2D.Controllers
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public VelocityLimitController(
float maxLinearVelocity,
float maxAngularVelocity
)
Parameters
- maxLinearVelocity
- Type: SystemSingle
The max linear velocity. - maxAngularVelocity
- Type: SystemSingle
The max angular velocity.
See Also