From d8e2e84c43a2864a45b13da845703d297b313f90 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Wed, 26 Nov 2008 22:11:15 +0000 Subject: [PATCH] removed the event clearing that happened while airborne. This caused all manner of wierd issues --- panda/src/collide/collisionHandlerGravity.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/collide/collisionHandlerGravity.cxx b/panda/src/collide/collisionHandlerGravity.cxx index c3d4f74e15..8f794e4e19 100755 --- a/panda/src/collide/collisionHandlerGravity.cxx +++ b/panda/src/collide/collisionHandlerGravity.cxx @@ -270,10 +270,14 @@ handle_entries() { _impact_velocity = _current_velocity; // These values are used by is_on_ground(). _current_velocity = _airborne_height = 0.0f; + } +/* //ZAC - Commented out, until someone can give me a good reason why we + //need such wierd behaviour } else { // ...we're airborne. _current_colliding.clear(); } +*/ CPT(TransformState) trans = def._target.get_transform(); LVecBase3f pos = trans->get_pos();