1
$\begingroup$

i followed a very good tutorial, and I managed to create this door completely functional, the mechanics as you can see opens the doors by pressing space bar, I would like to keep this, and I would also like to open only one door choosing whether it is the right or left , while still having the function of opening both with the space bar, any suggestions that do not affect the logical bricks that until this moment work perfectly ?, I have tried some things without success, I manage to open a door but then they get stuck, bother me and delete the previous mix and return to the origin of my mix to start without errorsenter image description here

$\endgroup$
  • 1
    $\begingroup$ If it were me I would start by making three actions, 1.left 2.right 3.both doors opening. (Alternatively You could probably layer 1 and 2 to get the effect of 3.) Then make two door sensors, one to trigger each, and figure out the logic to cause both to open at once. (If your actions are layered you might not need such specific logic, since if the player is touching both sensors both could be made to open.) It's all definitely doable. I'm not really sure what you have in mind for the spacebar, but I would have it trigger any door that has its sensor touching the player. $\endgroup$ – Mentalist Jul 30 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy