We are currently working on a puzzle game that involves a cube you can rotate. On the cube you can find several puzzles you have to solve to slowly deconstruct the cube.
For one of the puzzles we designed and modeled a 3D Maze that you are supposed to drag several objects through along different paths to the center.
To code a function that allowed us to drag the object via mouse wan’t an issue but we dont know how to make sure that the Player has to stay within the boundaries of the path. We could do this with physics using collision but since that’s prone to glitches we would like to find a different approach.