- Home /
Collision.impulse.Set doesn't change the impulse's values
In an OnCollisionEnter event script, I attempt to directly set the impulse of the collision using the following line.
//updatedCollisionImpulse is a Vector3 created earlier
collision.impulse.Set (updatedCollisionImpulse.x, updatedCollisionImpulse.y, updatedCollisionImpulse.z);
However, when I check collision.impulse after this step, it hasn't changed. Any idea why?
Comment
Your answer
Follow this Question
Related Questions
Why does this script check for raycast collision? Is it necessary? 1 Answer
Smooth Movement on Geometry Collission? 0 Answers
Object Collision PLEASE HELP!!! 1 Answer
Very simple collision death 1 Answer
Best collision detection method? 2 Answers