i have 2 entities and i need to detect a third entity touch, from forward only if the third entity touch from background just put a invisible wall to block only the third entity:
view pic.
if E3 touch E1/E2 from back = Block
if E3 touch E1/E2 from front = Print chat message
my question is how can i detect from where did he touch E1/E2. from front or back