Search Unity

Physic2D collision!

Discussion in '2D' started by lordubik, Nov 14, 2013.

  1. lordubik

    lordubik

    Joined:
    Feb 18, 2013
    Posts:
    149
    Hi, in a box collider is it possible know which face is touched from another collider?

    Thanks!!!
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,455
    Face information is not returned no. The collision normal should give you the ability to calculate it however given the Z rotation of the objects' transform.