mesh hierarchy accessing for 3ds

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
simdev
Posts: 8
Joined: Tue Mar 11, 2008 3:18 pm
Location: Bursa,Turkey

mesh hierarchy accessing for 3ds

Post by simdev »

Hi,
I am looking for a method to...
load my 3ds model file and access a subpart of this mesh
As an example
I have a car with 4 tyres and I want to rotate the tyres of the car during car movement.
So I need to access the 4 wheel sub-meshes and rotate them accordingly

How can I do that in irrlicht
(PS directx is doing something with hierarchy at .X files)

What do you suggest??
Thanks
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

I'd suggest exporting them as separate meshes, then creating them in Irrlicht as separate scene nodes. The wheels as children of the car.

Either load and position them programmatically or use IrrEdit and export as an irrlicht scene?

I don't think you can orientate parts of the same loaded mesh in such a way. 3DS doesn't have bones or anything either.
Post Reply