I’m a teacher and one of my students wanted to do a co-operative game where one player controls a red character and the other controls a blue character. The red character can push red blocks but the blue character should not be allowed to move it. The same situation should apply to blue blocks. Does anyone have any idea what the best way to go about doing that is?
Well, first it needs to be set to multiplayer and this can be done using proximity, like when the red character is near the blue blocks, it disables itself, making it unable to be moved and vice versa for the blue character and red blocks
I will too, but I’m thinking of
1: the red player can’t move forward when the blue block is in front of it
2: the block’s physics is unenabled when the opposite player is in front of it, and it spawns a non movable block there, destroying the non movable block and turning on phsyics again when the player isn’t in front.
3: the block spams it’s own position when the other person is near
4: don’t make the block movable, just adjust the block’s position
I will test all of these out and find the best one!