Mate, I really like the mechanics, your gravity function works very well. can you tell me how you did it?