Hi, I studied the UnityPhysicsSamples and I couldn’t find how to get the impulse of a collision.
How do I get the impulse of CollisionEvent just like the Collision.impulse of the old physics system? Thanks!
Hey, just call CalculateDetails() on your CollisionEvent and that will give you a Details object that has EstimatedImpulse field. You’ll also get an AverageContactPointPosition, as well as an array of all contact points for more advanced analysis.
1 Like
Thanks a lot!
1 Like