![]() |
|
|||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
The node.setMatrix command sets the entire transform matrix of the node, which includes position, rotation, and scale. The individual setPosition, setEuler, setScale, etc.. command only affect that specific attribute.
In your first example, the position of the object will be (0,0,10) after the call to setEuler. In your second example, the position of the object will be (0,0,0) after the call to setMatrix, since you didn't specify a position value for the matrix. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quat to matrix in Python 2.4 | aghena | Vizard | 2 | 07-21-2010 10:24 AM |
| Matrix Transform and Bumpmap | GiudiceLab | Vizard | 0 | 11-27-2009 01:42 PM |
| linear transform in 2D screen space | stefs | Vizard | 1 | 10-09-2009 11:15 AM |
| tracker coordinates transform | Charlotte Li | Vizard | 1 | 05-18-2009 03:38 PM |
| Transform object & matrices | david | Vizard | 4 | 03-27-2003 10:18 AM |