add script to change angle of gravity to angle of body