About Store Forum Documentation Contact



Post Reply 
Matrix forward
Author Message
Corrado Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Corrado Offline
Member

Post: #3
Re: Matrix forward
yes,

this is what i need.

Tks,
Corrado
06-07-2009 04:06 PM
Find all posts by this user Quote this message in a reply
Post Reply