Comment 1 for bug 331937

Revision history for this message
KeithCu (keithcu) wrote : Re: [Bug 331937] [NEW] Get car position offset from XML

We can keep their little hacks for now. Let's focus on the big things.

On 2/20/09, Jean-Christophe Hoelt <email address hidden> wrote:
> Public bug reported:
>
> 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!
>
> ** Affects: openracing
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> 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!
>
> --
> Get car position offset from XML
> https://bugs.launchpad.net/bugs/331937
> You received this bug notification because you are a member of
> OpenRacing, which is the registrant for OpenRacing.
>
> Status in OpenRacing: New
>
> Bug 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.
>
> (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!
>

--
Sent from my mobile device