Hi,
I’m using rayCast in order to get the object behind my gameObject.
The probleme is that it returns only my gameObject.
Do you know how to solve it in order to get the object behind my gameobject ?
thks
RaycastHit2D hitInformation = Physics2D.Raycast(transform.position, Camera.main.transform.forward);