maybe a problem with your gravity code?