Rubick Cube Creator

$24
Publisher TolgaDurman
File size 589.33kB
Number of files 62
Latest version 1
Latest release date 2023-06-28 01:43:12
First release date 2023-06-28 01:43:12
Supported Unity versions 2018.4.2 or higher

🧩 Create your own interactive Rubik's cube in Unity with ease! 

👨‍💻 The package provides an optimized implementation that allows cubes of arbitrary sizes without the use of extensive ray casting. 

🎓 The clear and extensively documented classes make it easy to understand and adapt the package to your needs, assuming a fundamental understanding of vectors, matrices, dots, cross products, and left & right-handed coordinate systems. 

🌟 Additionally, easy-to-use ScriptableObject presets for materials and cube sizes are included in the package.

🧊 Most important classes and features:

  • Cube: contains the core cube definition, rotation and undo features, and ability to check if the cube is solved or not, with additional cube change and solved events.
  • Block: contains data of the blocks on the cube.
  • CubeUtility: a static utility class for controlling the cube, blocks, and axises.
  • CubePreset: contains data on the cube, along with its material pack.
  • CubeUI: allows you to create UI that displays faces on the Canvas.
  • CubeCollider: automatically adds a box collider to the cube and sets the bounds accordingly.
  • CubeMove: allows you to send moves to the cube.

🚫 Limitations:

  • All Rubik's cubes are built up dynamically using the same prefab for every cublet, meaning there is no distinction between corner, edge, and center pieces.
  • The current controls are mouse-based, but they are located centrally and can be easily changed.

🎉 With "Rubik's Cube Creator," you can create your own fully functional Rubik's cube within Unity! The package provides optimized implementation and clear classes for ease of use, and the ScriptableObject presets make it even easier to get started. 🚀

Top Publisher Assets