Simple 3d Spining Object

Started by microcyb, April 05, 2011, 05:02:01 PM

Previous topic - Next topic

microcyb

NEWBIE question!!  
Just started to use this SDK and already tried to find a simple (very simple) sample of just loading in a 3ds object and having it self spining in the middle of the screen.

Like a ball with a texture mesh spining.  
Any samples around like that?  I do not want to tackle the touch movements or anything else yet, just want to start with the basics.

Does anyone have anything like that laying around?

Yes I searched the threads, I know it is too easy for you guys, but I wanted to start with the very basics.

EgonOlsen

To make something spin without using touch movement, just take the HelloWorld-example, remove the touch related parts and replace them with a simple call to cube.rotateY(...); To load a 3ds model, simply use the methods in Loader and replace the call to Primitives.getCube(10); with the call to the loader method. Depending on the model, you might have to play aroud the scale of the model to make it fit the screen properly.

microcyb

Thank You I will give it a try.