I have a dice (a RigidBody) that gets thrown around (applyForce).
There’s walls all around to keep it contained, but sometimes it gets through anyway.
I’m thinking that it is because the velocity of the dice exceeds the depth of the wall…correct?
Is the best solution (apart from making the walls insanely deep) then to restrict the velocity in my enterFrameHandler (via diceRigidBody.linearVelocity/angularVelocity) ?
Or is there a better way?
Thank you