Hey guys,
I want to create a puzzle with a combination lock, I got it so far that the numbers on the lock rotate by mouse click.
I want the lock to open as soon as the player enters the correct combination. Does anyone have a solution for me how I can implement this with a bool?
I thought I would store the rotation of the rotated number and as soon as the rotations match I set a bool value to true, unfortunately I am stuck with this idea and don't know how to implement it. Can anyone help me with this?