In my Pinball game, i am currently limiting the linear velocity of my ball(For stability reasons).
I use GetPhysicLinearVelocity in OnTick and check each vector value, if it’s above or below a given value, i set it to the given max/min if required. Then i use SetPhysicLinearVelocity to apply the changes.
This works fine sofar, just wondering if there is a function/method which let’s me do this directly. I somehow feel that my solution is odd.