About Store Forum Documentation Contact



Post Reply 
move alone axis
Author Message
liverol Offline
Member

Post: #1
move alone axis
sorry i just started to learn this engine,
need some help when dealing with the matrix,

but how can i move a mesh locally(when it's rotated),alone it's own Z axis??

like this:


Attached File(s) Image(s)
   
08-03-2010 05:11 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: move alone axis
Matrix m;


...


m+=m.z; or m.pos+=m.z or m.move(m.z)
08-03-2010 11:45 AM
Find all posts by this user Quote this message in a reply
Post Reply