Forum Discussion
Cube that spins when clicked
Hi Darren,
You might try setting the cube's different positions as different states. You can follow these instructions I found online to rotate an item across its various states:
To rotate an item across its various states:
>click done editing states
>select the object
>rotate it
>Ctrl+C
>Ctrl+Z
> edit states
>new state
>Ctrl+V
>delete original Object from new state
>exit edit states
If the user clicks on it, you could have a trigger that says to change the state of the cube, but you would probably have to tell the trigger what state you want. An alternative might be to have a variable that increments in number and then have the states change based on the number. Or, perhaps you might have 6 buttons on the side and when a user clicks on a button, the cube rotates to show the corresponding side.