Hi.
I was trying to make my character rotate in the world with ISceneNode::setRotation().
Yeah. It worked of course.. but the problem is.. I think it rotates only the mesh.. not the world of mesh. What I mean is..
for example.. first, I put mesh in the world.. and make it move forward with setPosition(vector3df(0, 0, 1)). It goes to forward of course.. and then I rotate it 90 degrees left with setRotation(). and then I move it forward again. BUT it moves to the right.. not the forward direction where it faces. Hope you understand what I mean..
so.. the question is... how can I rotate the world of meshes? not just meshes.. so that I can move forward after rotate the mesh..
Changing Orientation? Direction? of the world of mesh..
Changing Orientation? Direction? of the world of mesh..
J.sean
msn : nexoft2004@hotmail.com
yahoo : nexoft2004@yahoo.com
facebook : http://www.facebook.com/Junseunghun
blog : http://jsean.tistory.com
msn : nexoft2004@hotmail.com
yahoo : nexoft2004@yahoo.com
facebook : http://www.facebook.com/Junseunghun
blog : http://jsean.tistory.com
this would probably help http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=34944
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
oh.. Virion.. thanks!!
that link helped me a lot!!
I was able to rotate my character correctly... haha.
thanks.
that link helped me a lot!!
I was able to rotate my character correctly... haha.
thanks.
J.sean
msn : nexoft2004@hotmail.com
yahoo : nexoft2004@yahoo.com
facebook : http://www.facebook.com/Junseunghun
blog : http://jsean.tistory.com
msn : nexoft2004@hotmail.com
yahoo : nexoft2004@yahoo.com
facebook : http://www.facebook.com/Junseunghun
blog : http://jsean.tistory.com