[Papervision3D] Inconsistent rotationZ issue
kruass at gmail.com
Thu Jul 24 04:37:52 PDT 2008
I believe this is what the new localRotation properties are for:
That should allow your rotations to work on the object's local axis.
On Thu, Jul 24, 2008 at 3:20 AM, Philip Bulley <p.bulley at impactbbdo.ae>
> I'm finding when I rotate a cube on rotationZ, it always rotates along
> the world's z axis, instead of the cube's z axis.
> cube.rotationX = 90; // z is now the cube's up axis
> cube.rotationZ = 45; // the cube doesn't rotate around it's up axis!
> This is inconsistent with the following example:
> cube.rotationZ = 90; // x is now the cube's up axis
> cube.rotationX = 45; // the cube rotates around it's up axis as
> Is there a reason for this, as this inconsistency doesn't seem very
> Any advice would be greatly appreciated.
> Papervision3D mailing list
> Papervision3D at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D