Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Templates
Packs
1/5
"Rubik's Cube Creator" is an asset for Unity that enables users to create their own interactive Rubik's cube.
Render pipeline compatibility
The Built-in Render Pipeline is Unityโ€™s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.10f1
Compatible
Compatible
Compatible
Additional compatibility information

No compatibilty issues with any Render Pipelines. Just simply swap preset materials with the render pipeline serialized materials and you are good to go!

Description

This package is for creating any XbyX cube and doesn't provide a solving algorithm. In the demo scene, you may undo or redo moves and solve undo moves without computing any solving algorithm.

If you want to have a 3x3 rubik cube with an algorithm,

You can purchase the Rubik Cube Solver asset, and this pack will be free for anyone who purchases that asset.

WebGL Demo Try it out!


๐Ÿงฉ 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. ๐Ÿš€

Technical details

Features:

  • ๐Ÿ”ง Fully customizable Rubik's cube: "Rubik's Cube Creator" provides a complete set of classes and features that allow users to create their own fully functional Rubik's cube in Unity. Users can customize the size of the cube, its colors and materials, and even its rotation and undo features.
  • ๐ŸŽฎ Demo Scene with use cases and implementation: The package includes a demo scene that showcases the various features and use cases of the asset. Users can explore and test the Rubik's cube and its functionality within the scene.
  • ๐Ÿ“ Customizable presets for different sized cubes: The package includes easy-to-use ScriptableObject presets that allow users to quickly create Rubik's cubes of different sizes. Users can simply select the desired size and apply the preset to create a fully functional Rubik's cube.
  • ๐ŸŽจ Customizable Material presets for the cube presets: The package also includes customizable material presets for the cube presets. Users can select from a variety of material presets to apply to their Rubik's cube, or create their own custom materials.
  • ๐Ÿš€ Easy-to-use: The asset is designed to be easy to use, with clear and extensively documented classes and features. However, users should have a fundamental understanding of vectors, matrices, dots, cross products, and left & right-handed coordinate systems to understand the source code and comments.

Rubick Cube Creator

(not enough ratings)
19 users have favourite this asset
(19)
$19.99
Taxes/VAT calculated at checkout
21 views in the past week
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright ยฉ 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR