평점 만점의 리뷰가 11,000개 이상

8만 5천명 이상의 리뷰

10만명 이상의 포럼 멤버가 선호하는 에셋

유니티에서 모더레이팅하는 모든 에셋

템플릿
패키지
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
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
싱글 엔티티
개인 사용자나 소규모 비즈니스에 적합.
멀티 엔티티
대기업이나 여러 사용자가 공용으로 사용시에 적합.
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
라이선스
파일 크기
1.5 MB
최신 버전
1.0
최신 릴리스 날짜
2020년 10월 13일
원본 Unity 버전
2018.4.26
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
언어
어필리에이트 프로그램
멤버십링크 생성기어필리에이트 ID
Feedback
파트너 프로그램
협력사
USD
EUR
Copyright © 2025 Unity Technologies
모든 가격은 부가가치세를 제외한 금액입니다.
USD
EUR
$7.99