Reading the api doc I got the impression that the time sequence of a collision event is preCollision - collision began - collision end - postCollision. But the print out from Collision Detection sample is this:
first crate: collision began with ground
Global report: ground & first crate collision began
**** 1 – 1
preCollision: first crate is about to collide with ground
preCollision: first crate is about to collide with ground
postCollision force: 132.51472473145, friction: 0
first crate: collision ended with ground
Global report: ground & first crate collision ended
It seems the sequence is collision began - preCollision - postCollision - collision ends
What is the proper sequence? and How do I nullify a collision right before it is about to happen? For example, I need to do certain calculation when the collision is about to happen but don’t want it to actually happen.
Thanks. [import]uid: 8745 topic_id: 4071 reply_id: 304071[/import]