- Home /
Collision at which side?
When an cube collides with another cube, I would like to know which side of the cube is hit. How is that possible?
Answer by poncho · May 06, 2011 at 02:04 PM
if you are using Collision
then use Collision.contacts this array have the information of each contact the collision detects
the way i used, was in a ball hits a platform, which this ball see wich side of the platform hits, and then bounce in the respective path
the contacts[0] is the first contact both objects have, then the normal and the point are very useful for anything you need
hope this help you
Your answer
![](https://koobas.hobune.stream/wayback/20220613132210im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Literal Notation Object Creation in unity? 0 Answers
Collision between objects 2 Answers
Destroying object using his name and raycast 2 Answers
'enabled' is not a member of 'Object' 1 Answer
Getting a scene object's name 1 Answer