[ODE] Changing the 3D coordinate system to left-handed

Tobias Thorsen tobias at chaseace.com
Thu Feb 13 03:04:01 2003


Isnt it just a matter of changing at which direction the gravity pulls?
I changed my system from right to left, and only updated my gravity vector -
everything looked right after that - also the collisions.
As far as i know ODE hasnt got any preference.

Tobias Thorsen
www.spacetimefoam.com

----- Original Message -----
From: "Michal Bacik" <michal@lonelycatgames.com>
To: "ODE mailing list" <ode@q12.org>
Sent: Thursday, February 13, 2003 10:55 AM
Subject: [ODE] Changing the 3D coordinate system to left-handed


> Hi all,
> I noticed ODE uses right-handed coord system (Z pointing up), while I'm
used
> to left-handed one (Y pointing up).
>
> Is there some switch in header files swapping the Y and Z axes?
>
> Optionally I could treat the system as left-handed (setting gravitation
> to -Y axis instead of -Z), but I suppose this would break collision
> functions, or other parts of system.
>
> Any idea?
> Thanks
>
> - Michal
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>