2009-02-20 08:17:53 |
Jean-Christophe Hoelt |
description |
Position of the car is currently determined by the tCarElt position matrix.
However, a 0.7 offset on Y axis is added for the car not to be inside the road.
This offset, instead of being hard-coded in Torcs, probably is available on the car's XML file (or maybe it's just half the size of the bounding box?)
Fix this! |
Position of the car is currently determined by the tCarElt position matrix.
However, a 0.7 offset on Y axis is added for the car not to be inside the road.
(http://bazaar.launchpad.net/~openracing/openracing/trunk/annotate/head%3A/src/graphic/OAvatars.cs : line 88)
This offset, instead of being hard-coded in Torcs, probably is available on the car's XML file (or maybe it's just half the size of the bounding box?)
Fix this! |
|