CreatingContact event fires, but ContactCreated doesn't
Posted: Thu Jan 19, 2012 4:28 pm
Hi,
I'm relatively new to BEPU, so I might be missing something really simple.
In my app, I added a new collidable shape type to BEPU that is similar to the terrain shape and is not movable. When I assign an event handler to this collidable's Events.CreatingContact, it calls the function as expected, but when I assign an event handler to Events.ContactCreated, it never gets called. I should also mention that similarly, when I use Events.DetectingInitialCollision, it fires off, but Events.InitialCollisionDetected doesn't which makes me think that there's something wrong with the way the deferred events are supposed to fire off, probably related to the way I'm using it...
Any info on this issue would be appreciated.
Thanks
I'm relatively new to BEPU, so I might be missing something really simple.
In my app, I added a new collidable shape type to BEPU that is similar to the terrain shape and is not movable. When I assign an event handler to this collidable's Events.CreatingContact, it calls the function as expected, but when I assign an event handler to Events.ContactCreated, it never gets called. I should also mention that similarly, when I use Events.DetectingInitialCollision, it fires off, but Events.InitialCollisionDetected doesn't which makes me think that there's something wrong with the way the deferred events are supposed to fire off, probably related to the way I'm using it...
Any info on this issue would be appreciated.
Thanks