It’s not easy to predict the movement of a rigid body unless you are using a known equation to move it. Check this library that may be of help: