Skip to main content

newbie question, Java 3D Cube

1 reply [Last post]
rockflopp
Offline
Joined: 2006-02-17
Points: 0

Hello

I'm programming an 3d Cube consisting of many small cubes. I now want the whole cube rotate around the center of the big one, by a behaviour or what else, but how do i do it. i can rotate each of the small cubes but not the whole one...

hope you can help me solve this problem...

greetings

michael

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pepe
Offline
Joined: 2003-06-10
Points: 0

you have to add a TransformGroup before the root of all the transformgroups of your cubes.