How to make something go through one thing but another not be able to? (SOLVED)

im making a game where you can control multiple things at once. i want to make a door where only one type of character can pass through.

1 Like

object 1 and 3 can’t collide with object 2
object 1 can collide with object 3
usually, people make it so if object 1 or 3 collides or is in proximity with object 2 then use the enable behavior and disable object 2

sorry if this is kinda confusing : /

also if this does work add “(Solved)” to the name of this help request!

2 Likes

thanks for the help, this should work.

1 Like

Maybe make several animations for the player, each being it’s own transformation. Then, each time you play an animation for the transformation, also assign a number to a global. Next, the door constantly reads the global, and if the global = (insert number here), it turns enabled off, otherwise it turns enabled on. There’s not really a more simple way to explain it, but there you go.

2 Likes