Importing objects from other m3g.

Forum for discussion on 3D games for mobile platform and doubts related to M3G, Mascot capsule and other rendering engines.

Importing objects from other m3g.

Postby hreaper81 » Sat Sep 19, 2009 7:48 am

Hello, I hope someone can help me with this here.

I have this little game where I have several of these m3g files each containing a single model each.
I load the terrain m3g files and set it as the main world.
Then I load the models I needed from the other m3g files, removed the models from their parent node and used addChild() to put them into the main world.

The problem I'm facing now is that some of the models have skewed orientations.
When I try to translate a model on one axis, I find that it translated itself on a totally different axis.

My question is, how do i set the models to follow the main world's axis and not its own?

In this case, I used the Pogoroo terrain and a model I made in 3DStudio Max.
Posts: 1
Joined: Sat Sep 19, 2009 7:32 am

Return to 3D Mobile Game (M3G)

Who is online

Users browsing this forum: No registered users and 1 guest