Trigger not working

Hi @LeXXik @Albertos ,
I am trying to detect an obstacle using trigger and its not working. Both of the bodies have collusion and rigid body on them.

Trigger script
image

entity with trigger script

Player

Hi @usama_jalal!

A trigger entity cannot have a rigidbody component.

If you need a rigidbody on both entities you should use collision event instead.

1 Like