Add option to disable HingeConstraint reducing velocity when set to Motor

Currently when you have a HingeConstraint with the ActuatorType set to Motor and if the rotational velocity goes above HingeConstraint.AngularVelocity, the motor will reduce the velocity of whatever it’s attached to

This behavior isn’t always wanted, for example when a car is going down a hill. It might get faster than the target velocity, so when the user presses ‘W’ and expects to accelerate or at least stay the same speed, they are instead going to slow down

Adding a new property, HingeConstraint.ReduceVelocity would solve this issue. When enabled, if the rotational velocity goes over the target rotational velocity, it will slow down. If it’s not enabled, the hinge will only increase velocity and never decrease it

Gif showing the HingeConstraint reducing the velocity

3 Likes