Area 5 Puzzle 1.

This is a part of the first puzzle, I made a slot where you need to rotate a puzzle piece into the hole which will unlock a barrier allowing the player to continue the level.

This is the puzzle piece that goes into this slot.

This is the code. It can most likely be optimised but it works for now. Something I learnt while doing this is that negative numbers do not work with eulerAngles so I had to move the position of the slot game object as that was easier to do.

I also made an animation for the puzzle piece so once it is within that range when being rotated, it gets slotted in with an animation.

search previous next tag category expand menu location phone mail time cart zoom edit close