do3dSlave.transform.copy(do3dMaster.transform);<br>do3dSlave.world.copy(do3dSlave.transform);<br><br><br>seems to do the trick..<br><br><br><br><div class="gmail_quote">2009/6/12 o renken <span dir="ltr"><<a href="mailto:renkster@gmail.com">renkster@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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)->i need trans, too. so i dont use 3x3, <br>
the transform of the do3d is Matrix3D.IDENTITY <br><br>_cube: 1 0 0 0<br> 0 1 0 0<br> 0 0 1 0<br> 0 0 0 1<br>
<br>What do i miss? I dont think this is a bug in pv<br><br>thanks in advance,<br>olee<br><font color="#888888"><br><br><br clear="all"><br>-- <br><a href="http://www.renkster.de/" target="_blank">http://www.renkster.de/</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.renkster.de/">http://www.renkster.de/</a><br>