- Home /
position (vector3) of a collision.
is there a possibility to get a vector3 position in the world of a collision?
let say two cubes collided, and I want to know where it happened. precisely, where the point of contact in 3d space is.
is that possible?
Comment
Best Answer
Answer by · Sep 27, 2010 at 02:14 AM
The scripting reference for OnCollisionEnter mentions ContactPoint, which has 'point' as a member Vector3.
In short, yes.
No troubles. Please mark this as 'correct' (the tick beneath the arrows) if it solved your problem, or comment back as to how I can help.
Your answer
Follow this Question
Related Questions
Collision.contacts? 1 Answer
How do I reset a GameObject pos / rot with a toggle? 0 Answers
Doors, need help. 1 Answer
Circle inside Circle 1 Answer