- Home /
Question by
ravi_gohil999 · Nov 27, 2013 at 07:30 AM ·
collisioncolliderscollisiondetectioncollision.contactscollisionhandling
Find axis of collision
Hi Guys, I am making a game that consists of 2 objects. 1) object A 2) Object B
So when object A collides with object B, if need to find out the axis of collision with respect to object A. So I object A was moving along axis Z, I will manipulate the axis Z as I want. Object A has a rigidbody and I am detecting the collision onTriggerEnter() & onTriggerStay(). I can get the name of object with which object A collides.
object A is controlled by a Kinect wrist bone.
Comment
What is axis of collision? Is it the velocity of A, the velocity of B, the collision normal on A or on B? Is it the addition of both velocity or the resolution vector of collision? I would need a little clarification.