mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
removed the event clearing that happened while airborne. This caused all manner of wierd issues
This commit is contained in:
parent
24641a7ab4
commit
d8e2e84c43
@ -270,10 +270,14 @@ handle_entries() {
|
|||||||
_impact_velocity = _current_velocity;
|
_impact_velocity = _current_velocity;
|
||||||
// These values are used by is_on_ground().
|
// These values are used by is_on_ground().
|
||||||
_current_velocity = _airborne_height = 0.0f;
|
_current_velocity = _airborne_height = 0.0f;
|
||||||
|
}
|
||||||
|
/* //ZAC - Commented out, until someone can give me a good reason why we
|
||||||
|
//need such wierd behaviour
|
||||||
} else {
|
} else {
|
||||||
// ...we're airborne.
|
// ...we're airborne.
|
||||||
_current_colliding.clear();
|
_current_colliding.clear();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
CPT(TransformState) trans = def._target.get_transform();
|
CPT(TransformState) trans = def._target.get_transform();
|
||||||
LVecBase3f pos = trans->get_pos();
|
LVecBase3f pos = trans->get_pos();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user