I need help somebody

ok so im making a game and my collisions will not work on the switch ive tried everything i could but still cant get it to work maybe its a bug but someone help me

If your talking about level 2 with the switch, the player moves by detecting with a raycast.
For collisions to work, you would need to be on the switch.

You could wither use a raycast on the switch OR edit the player to have 2 raycast to detect the switch then any.


@“JR 01” thanks for the help but there is another prob with the ray cast now the up on the ray cast will go through the upper wall idk if you know how to fix this but thank you for the help with the switch!!!

Because your first raycast needs to be set to the switch and not any,
The second raycast detects any.