[Papervision3D] Global to Local (and *not* the other way around)
Steve D
kruass at gmail.com
Fri Apr 10 16:05:27 PDT 2009
If local to global is:
child.transform.calculateMultiply(child.transform, parent.world);
then global to local is:
child.transform.calculateMultiply(child.transform,
Matrix3D.inverse(parent.world));
or am I missing something?
On Fri, Apr 10, 2009 at 1:23 PM, lunetta <carlos.lunetta at gmail.com> wrote:
>
> Hello all
>
> I need to reparent an object, but keep its visual location intact. In order
> to do so, I must convert a set of world coordinates (easily retrieved) to a
> displayobject3D space. Any hints to do so? I searched the list and found a
> lot of questions on going local to global, but not the reverse.
>
> Thanks,
>
> Carlos
> --
> View this message in context:
> http://www.nabble.com/Global-to-Local-%28and-*not*-the-other-way-around%29-tp22993715p22993715.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090410/827791d7/attachment.html>
More information about the Papervision3D
mailing list