EventHandlerCollisionOnStay

Post and discuss features you'd like to see in the BEPUphysics library.
Post Reply
imtrobin
Posts: 101
Joined: Thu Jun 11, 2009 3:03 am

EventHandlerCollisionOnStay

Post by imtrobin »

Hi

I like to request for a eventHandler that is continously fired when the coliision are happening. This is like PhysX OnStay.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: EventHandlerCollisionOnStay

Post by Norbo »

Quick update; this is implemented in v0.10.0 as EventHandlerCollisionPairUpdating, EventHandlerCollisionPairColliding, and their "immediate" versions. The updating event occurs every single time that a collision pair associated with the entity with the event hook has its contact manifold updated. The colliding event occurs at the same time, but only if there is a collision.
Post Reply