How would I make a puzzle like this?

Hi. I am making a heist, and it has 2 entrances, 1st is to blow up the door, second is to hack an electrical panel. My problem is that I want to make a puzzle to complete for hacking the panel, and the puzzle is like this as shown here:

I have no clue how they achieved it.

I appreciate any help. Thanks :slight_smile:

1 Like

You’d need to have buttons once pressed the buttons rotate.

  1. After you’d have to keep track of which outlet touches another outlet.
  2. Then if an outlet is connected to the power and connected to another track then that track gets powered.
  3. If they’re all connected from the power to the electricity then you fire an event of you finishing the puzzel.
1 Like

How would I detect if an outlet is touched by another outlet?

Have a UI eliment line up if they overlap, go through all the UI elements and if they’re ActivePosition lines up then you’d fire it. Of course you’d need to have the UI elements rotate with the wires and need to have them perfect overlap.

What do you mean by “ActivePosition”?

I meant AbsolutePosition. I forgot to check if that really was the name of the property.

Okay. Thanks for answering. I will go work on it. :love_you_gesture: