refactored onContact to take float dt for future physics stuff
made height show as 0 when on ground