Godot Version
4.4
Question
is there any way to make a 3d combination lock in godot? Where it locks your camera closer so you can get a better look and then you can rotate each number and when you get the correct combination, it unlocks
4.4
is there any way to make a 3d combination lock in godot? Where it locks your camera closer so you can get a better look and then you can rotate each number and when you get the correct combination, it unlocks
Of course there is. One approach would be to make a scene for each number wheel, make it interactive so it rolls to the next number when it’s clicked. Put some state vars into the scene script that set and track its unlock position. Place as many such wheels into some parent scene that represents the lock and let them signal their state to the lock script. When all of them are unlocked the whole lock is unlocked and the lock scene can signal further up that it has been unlocked
Going into more details would require a whole tutorial.
@FencerDevLog That is awesome.
Yeah, excluiding the 3d in 2d stuff, this is exactly what i was looking for! Thank you!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.