<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">updateTransform() updates the transform matrix with the current rotationXYZ and scaleXYZ values. This is done automatically when rendering, but you might want to use rotations and then use the matrix for something else, in this case you should use updateTransform before using the matrix. In your case you are basically recreating the matrix from the rotation values that probably are zero, so you get the identity matrix.&nbsp;It would be too costly to keep matrix and rotation values in sync all the time, not even Flash does it.<div><div><br></div><div>C4</div><div><br></div><div><br></div><div><br></div><div><div><div>On 12 Jun 2009, at 11:34, o renken wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi List,<br><br>iam working on a game using pv3d and jiglib. ive got some problems to synchronize do3d with rigidBody/ or pv3d.render and physics.step<br><br>when i call singleRender() during two steps of my routine everything work pretty fine - but in case of performance i dont want to render the whole scene twice, <br> cause i only need to sync two RBīs during these both steps. But in ran into a problem for which I see no obvious solution.<br><br>Does anybody has a clue why calling do3d.updateTransform() is resetting all local transforms?<br> <br>When rotating a do3d via rotationXYZ everything is fine.<br>But when the rotations are done with localRotationXYZ or like that: do3dSlave.transform.copy(do3dMaster.transform)-&gt;i need trans, too. so i dont use 3x3, <br> the transform of the do3d is Matrix3D.IDENTITY <br><br>_cube: 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br> <br>What do i miss? I dont think this is a bug in pv<br><br>thanks in advance,<br>olee<br><br><br><br clear="all"><br>-- <br><a href="http://www.renkster.de/">http://www.renkster.de/</a><br> _______________________________________________<br>Papervision3D mailing list<br><a href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a><br>http://osflash.org/mailman/listinfo/papervision3d_osflash.org<br></blockquote></div><br></div></div></body></html>