Re: flying car
Phillip <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
Bernhard Wymann <berniw <at> bluewin.ch> writes:
>
> Hi Frédéric
>
> No, there is not key for that Just to try, could you delete the
> contents of the ${HOME}/.torcs directory (or just rename it to play
> save). It could be that there are lurking old cars setups for the human
> player around.
>
> Anyway, can you tell me what to do to reproduce it, I have not seen this
> since years. Some old car setups were such that this could happen, do
> you use abandoned cars from older TORCS releases?
>
> If that is the case, reduce the fast bump/rebound values it the car
> setup xml, e.g. use values around 1/10 of the slow values.
>
> Let me know about your findings.
>
> Best regards
>
> Bernhard
>
> On 03/06/2013 08:51 PM, Frédéric Bron wrote:
> > Hi,
> >
> > Quite often, I have an issue with my car starting to fly. The car
> > never gets back to earth and when I play multiplayers, I can only see
> > the other continue the race without me.
> > I play torcs 1.3.3 on fedora 18. The problem is not related to a
> > particular car or track.
> > Is there a key to get back to earth and continue the race?
> >
> > Thanks,
> >
> > Frédéric
> >
> > --------------------------------------------------------------
> > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> > endpoint security space. For insight on selecting the right partner to
> > tackle endpoint security challenges, access the full report.
> > http://p.sf.net/sfu/symantec-dev2dev
> > _______________________________________________
> > Torcs-users mailing list
> > Torcs-users <at> lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/torcs-users
> >
>
> --------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
>
Hi Bernhard,
i have got the same problem. After a random amount of time the car
is approximately 5m in the air. I
have tried several cars and followed your instructions with the bump
/rebound values.
When I try your code from the tutorial in the drive method
car->ctrl.brakeCmd = roundTo1tenth(getBrake(car));
if (car->ctrl.brakeCmd == 0.0) {
car->ctrl.accelCmd = roundTo1tenth(getAccel(car));
action = car->ctrl.accelCmd;
} else {
car->ctrl.accelCmd = 0.0;
action = -car->ctrl.brakeCmd;
}
the car is not flying.
When I replace this part of code with mine:
if(action < 0.0 ){
car->ctrl.accelCmd = 0.0;
car->ctrl.brakeCmd = -action;
}else{
car->ctrl.brakeCmd = 0.0;
car->ctrl.accelCmd = action;
}
where action is a float between -1(brake) and +1(throttle).
I have no idea why the car is flying.
I am using torcs 1.3.4 and the car acura-nsx-sz or car1-stock1.
Perhaps you can help me...
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users