Get car position offset from XML

Bug #331937 reported by Jean-Christophe Hoelt
2
Affects Status Importance Assigned to Milestone
OpenRacing
New
Undecided
Unassigned

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!

description: updated
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

Revision history for this message
KeithCu (keithcu) wrote :

Forget the above comment. I misunderstood what you were saying.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.