Let's say we have a scenenode that is just at the position 0,0,0 which has no mesh so you won't see anything. You add an animatedmeshscenenode at the same spot as child of it. Now you apply a rotation matrix to the first. Now both object (well you can't see the first one because it hase no mesh attached to it) should rotate and if we would add two times the same mesh ad the same spot the two should rotated synchroned. But the second mesh or the child mesh(depends on which of the two examples you use) doesn't rotate it just translates up and down left and right with the other object but it just doesn't rotate it just rotates if i set the absolute transformation matrix manually but then everything is messed up again when the nodes are not on the same spot and with the relative transformation matrix nothing is working.
I don't think that this can be right. If someone want's to i can send him/her the code.
Translation and rotation question.
Translation and rotation question.
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Strange, i did that for camera (camera where child of a empty node) and everything worked ok. What node did you used ? I used scene::ISceneManager::addEmptySceneNode().
Tomasz Nowakowski
Openoko - www.openoko.pl
Openoko - www.openoko.pl
it's the same i use
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Now i see it. You used rotation matrix while i use setRotation() method. Maybe that make diference ?
Tomasz Nowakowski
Openoko - www.openoko.pl
Openoko - www.openoko.pl
hmm that could be the problem i will have a look at it perhaps that's the failure
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL