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.
tank202
Competition winner
Posts: 40 Joined: Mon Jan 21, 2013 8:34 pm
Location: Lithuania, Kaunas
Post
by tank202 » Thu Jul 04, 2013 4:10 pm
Hi,
Well this is quite plain
How to modify Position/Rotation/Scale atributes for each non-solid 3d model part?
Code: Select all
// This is what I want in pseudocode :D
Mesh->getMeshPart(0)->setPosition(vector3df);
Last edited by
tank202 on Thu Jul 04, 2013 8:47 pm, edited 1 time in total.
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Thu Jul 04, 2013 5:19 pm
You cannot change meshbuffer positions easily. You can use the geometry manipulator, where you can apply transformations to the vertices, either global or per meshbuffer. However, this will iterate through all vertices and thus take some time. And it will affect all mesh nodes sharing this mesh.
tank202
Competition winner
Posts: 40 Joined: Mon Jan 21, 2013 8:34 pm
Location: Lithuania, Kaunas
Post
by tank202 » Thu Jul 04, 2013 7:43 pm
Well, this seems to be quite a challenge for me
but I'll try. In worst case scenario I will rip those models apart
tank202
Competition winner
Posts: 40 Joined: Mon Jan 21, 2013 8:34 pm
Location: Lithuania, Kaunas
Post
by tank202 » Thu Jul 04, 2013 8:47 pm
It was a piece of cake
I've added bones to model and managed to place the probrlematic parts where I want them.