make sure not to try to deallocate null when character has no ground intersection, and if the object that the avatar was standing on is gone, do nothing. remove debugger statement