From: Darsh <da...@an...> - 2003-03-23 21:49:19
|
Hi all I have a question about relative move of a mesh. I move my mesh like this in the Z axis (sprite is a iMeshWraper* ) iMovable* movable =3D sprite->GetMovable (); movable->SetSector (room); movable->MovePosition (csVector3 (0, 0, -speed * 5)); movable->UpdateMove (); But if a rotate the mesh like this sprite->GetMovable ()->GetTransform().RotateThis(CS_VEC_ROT_LEFT, speed = * 1.4); I get the same position of the mesh, but in a diferent angle How can i retrive that information to move the mesh in the Z and X axis = with that angle ??? That's is my question. Thanks |