Crossing Bridge Colliding Problem T_T -1 picture attached-

Hi all,

I have a problem again!!! Thanks for the help last time!
I am making a simple game for my project. however encounter this problem.
can anyone teach me how to solve??
I wanna to make the car touches the player, after that, the player will reset to starting point. however, i don’t want it to affect when player crossing the bridge!
my problem is, how to make it that when crossing the bridge wont affect the player to reset to starting point when the car touches the player when he’s crossing the bridge!
Thanks in Adv!

When the player is in the bridge, you could disable his collider so he ignores contact with the car.

Also, you could simply check in the collider handling function if the player is presently on the bridge, and ignore contact that way.

1 Like

thank you! i would check out on that!

if there is a sample of disable or enable of collider scripts would be a great help. Thanks!