- Home /
How to show 'contact frame' of Rigidbody2D collision?
I have a non-kinematic rigidbody2d gameobject bouncing off a kinematic rigidbody2d gameobject. I was wondering if there was a simple way to ensure that a frame is rendered where the 2 gameobjects are shown in contact with each other? This improves the look of the collision greatly.
Am I able to get hold of the non-kinematic object's position at point of collision from the Collision2D object in OnCollisionEnter2D?
Comment