Question by
Blue-Mirror · Jan 19, 2017 at 08:10 AM ·
c#rotationforcetorque2d collision
Access 2DCollision Torque/rotation force and set it to 0
So I have an 2D object colliding with another 2D object (they have to use the function OnCollisionEnter, I sadly cant use OnCollisionTrigger). My problem with this is that my object, after the collision, doesnt rotate like it should. Even further he rotates a bit after the collision "on his own". What means the collision does add some Torque to my Object. I know how to do that too, and I also use AddTorque to rotate my Object.
But the thing that I dont know about is, how do I access this force. The Torque or Rotation force of my object, which it gets after the collision.
I couldnt find the solution and I did search :/ but I Think Im searching at the wrong
Thanks for any help in advance :)
Comment