Why is Player 1 able to control Player 2’s controller?
So a remote controller is originally set to Player 1. After the player does something, a counter turns on Player 2 and turns off Player 1 in the controller gadget. I can verify this part works as only Player 2 is highlighted in the tweak menu.
But Player 1 is still able to control this remote control.
Is this a glitch or am I missing something?
-
I haven't messed with that stuff yet. But my guess is that the game doesn't know which controller is player 1 and which is player 2; they're just controllers.
I think you probably need to make the controller sensor "possessable" by adding it onto a sculpt of some kind, which means the player can R2 into it to control it. That sculpt can be just a placeholder. It doesn't have to do anything; you just need something the player can R2 into.
Then I think it's just a case of any output from that sensor will have the player number set to whatever it's set to on that sensor.
So you have 2 such possessable sensors, one set to "player 1" and one set to "player 2." Then at the start of the game, different controllers possess those 2 sculpts (which you can then hide). This basically marks button presses from as being from one player or another, which you can filter out using your selector.
At least, this would be my guess based on your description.
請登入寫評論。