11,000 種類を超える 5 つ星アセット

8.5 万人以上の顧客による評価

10 万人を超えるフォーラムメンバーが支持

すべてのアセットを Unity が審査済み

ホーム
テンプレート
パック
このコンテンツはサードパーティのプロバイダーによってホストされており、ターゲティングクッキーを使用することに同意しない限り動画の視聴が許可されません。これらのプロバイダーの動画の視聴を希望する場合は、ターゲティングクッキーのクッキーの設定をオンにしてください。
1/16
loading
loading
loading
loading
loading
loading
This package contains all assets and code required to create an interactive Rubik Cube of varying sizes.

WebGL demo

This package has two main goals:
• Providing you with a starting point to build your own interactive Rubik cube application
• Act as a learning project for those interested in the 3D math behind implementing such a cube

The package provides an optimized implementation that allows for cubes of arbitrary sizes without the use of extensive ray casting (the provided sample scene demonstrates cube sizes 2 to 9, but you can go higher if you wish). In addition the package is divided in clear classes that can be reused as is, or adapted to your needs as you see fit.

Contents
• Clear, cohesive and extensively documented classes (note that reading the comments and understanding the source code does require a fundamental understanding of vectors, matrices, dots, crossproducts and left & right handed coordinate systems).
• A UV-ed cublet mesh with realistic albedo, normal and smoothness textures (.psd included)
• A cublet.blend file with high and low poly cublet meshes included
• A sample scene demonstrating all the features

Most important classes and features
• RubikCube class: contains core cube definition, rotation and undo features and the ability to check if the cube is solved or not
• DiscRotator: transforms your mouse actions into disc rotation actions on the RubikCube
• CubeRotator: transforms your mouse actions into 90 degree rotations on the cube as a whole
• CameraMouseOrbit: transforms your mouse actions into free orbit camera movements
• AxisDisplay: shows the orientation of your cube on the top right of your screen as a gizmo
• RubikCubeInitializer: shows you how to spawn a cube of a specific size and handle its lifetime

Package limitations:
• This package doesn't come with a cube solving algorithm
• All the rubik cubes are built up dynamically using the same prefab for every cublet, in other words there is no distinction between corner, edge and center pieces.
• There is no side introspection mechanism included, in other words, the cube can tell you whether it is solved or not, but you can't say "Give me the color of cublet R(2,2)" for example.
• The current controls are mouse based but located centrally and easily changed.

WebGL demo

Interactive Rubik Cube (x * x * x)

(評価数が不足しています)
60 users have favourite this asset
(60)
$7.99
消費税は決済時に計算されます
ライセンス: Single Entity
単一の法人
個人の方、スモールビジネスの方に最適です。
複数の法人
複数の事業所をまたいで活動する大企業での使用に最適です。
払い戻しポリシー
このアセットは Unity アセットストアの払い戻しポリシーの対象です。詳細については、EULA のセクション 2.9.3 を参照してください。
以下で安全にチェックアウト:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
ライセンス
ファイルサイズ
1.5 MB
最新バージョン
1.0
最新リリース日
2020年10月13日
オリジナルの Unity バージョン
2018.4.26
サポート
サイトを訪問
高品質なアセット
11,000 種類を超える 5 つ星アセット
信頼がある
8.5 万人以上の顧客による評価
コミュニティが支持
10 万人以上のフォーラムメンバーが支持
Unity logo
言語選択
フィードバック
パートナープログラム
パートナー
USD
EUR
Copyright © 2025 Unity Technologies
全ての表示価格には消費税は含まれていません
USD
EUR