I have just updated my code from Havok 6.6.0 to the last release. Reading the documentation, I have been pleased to see that the collision callback system have been improved. in particular, I was interested in the newTYPE_MANIFOLD_AT_END_OF_STEP contact type that makes getting contact information after the solving step much easier. However, even with this new contct type, I can not get the impulse applied by the solver for most contacts !
I have set theregisterForEndOfStepContactPointCallbacks(event) andinfo.m_fireCollisionCallbacks = true; properly, I set therigidBody->setContactPointCallbackDelay(0); to 0 just in case... All the callback system works well... Except the getImpulseApplied value that is stuck to 0, unless the contact point lasts several frames.
For example, I set up a ball to hit and bounce against a wall with a certain velocity. This generates a brief contact that generates 2 or 3 callback calls, but none of them has an appliedImpulse greater than zero. Does anybody know how to get the impulse applied ? By the way, in my case it is important to get the actual impulse applied at each contact point, not an approximation based on the change of velocity.
Thanks in advance,