RebelKeithy
Member
- Joined
- Feb 28, 2013
- Messages
- 5
I'm working on a VR puzzle simulator (Youtube Video Here). So far I can create fully functional LxMxN cubes (I plan on creating square-1 and pyraminx soon. The code for making those should make most twisty puzzles "easy" to add). However they are a bit too functional, you can turn any layer even after you started shape shifting. I'm trying to think up a way to check if a layer can turn, it's a bit hard since I only own NxNxN cubes, so I'm looking for help.
The idea I had was to stop a turn if it would result in a sticker being coverd by another piece or a piece being over an empty space (imagine a 2x2x8). Though that might be problematic later on if I want to add cubes like this. Any ideas?
The idea I had was to stop a turn if it would result in a sticker being coverd by another piece or a piece being over an empty space (imagine a 2x2x8). Though that might be problematic later on if I want to add cubes like this. Any ideas?