cap yspeed
moved to physics file
moved to physics file