Hey all, I have been working on a small project lately where I want to make the ‘player’ to be able to move past walls with their own set of colliders, the player has 4 colors which it can switch up and the walls come in 4 identical colors.
Getting to the point I dont know where and how to start scripting that when the player color is red it can pass through red walls but not green and so on with the rest of the 4 colors which would lets say be (Green, Yellow, Red, Blue)
I mainly focus and study C# just to add as a side note.
Any help is much appreciated, and thank you!
Please note not looking for someone to make the entire script with me doing no work, I just simply require a start off so I know and I can see how the basics of it should be coded.