This is my test with rotational physics using angular acceleration and angular velocity. Hold the mouse and move it to rotate the hammer. Click space to impact the hammer to make it rotate because of the impact. This will be used in my space game.