applytrapgravity