[Papervision3D] - updateTransform VS localRotations == nothing ?

o renken renkster at gmail.com
Fri Jun 12 09:11:48 PDT 2009


do3dSlave.transform.copy(do3dMaster.transform);
do3dSlave.world.copy(do3dSlave.transform);


seems to do the trick..



2009/6/12 o renken <renkster at gmail.com>

> Hi List,
>
> iam working on a game using pv3d and jiglib. ive got some problems to
> synchronize do3d with rigidBody/ or pv3d.render and physics.step
>
> 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,
> 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.
>
> Does anybody has a clue why calling do3d.updateTransform() is resetting all
> local transforms?
>
> When rotating a do3d via rotationXYZ everything is fine.
> 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,
> the transform of the do3d is Matrix3D.IDENTITY
>
> _cube: 1        0        0        0
>             0        1        0        0
>             0        0        1        0
>             0        0        0        1
>
> What do i miss? I dont think this is a bug in pv
>
> thanks in advance,
> olee
>
>
>
>
> --
> http://www.renkster.de/
>



-- 
http://www.renkster.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090612/84712eb6/attachment.html>


More information about the Papervision3D mailing list