Add rotation handling in physics engine.

Signed-off-by: THE DINJ <thedinj@yahoo.com>