Corrado
Member
|
Matrix forward
Hello Grzeg,
excuse my ignorance :
i have one matrix to draw one object and i want to move forward the object, how to set the matrix ?
Tks and Bye,
Corrado
|
|
06-07-2009 03:40 PM |
|
Esenthel
Administrator
|
Re: Matrix forward
Hi,
forward in relative to what? the object or the camera?
if relative to the object itself then you can use this transformation
// Matrix m;
m+=m.z*Tm.d(); // this moves the matrix along it's Z-axis (forward) and according to time
|
|
06-07-2009 03:46 PM |
|
Corrado
Member
|
Re: Matrix forward
yes,
this is what i need.
Tks,
Corrado
|
|
06-07-2009 04:06 PM |
|