Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reverse Tracks
03-05-2007, 06:52 AM,
#31
 
Custom reversed starting positions can hold off until next release. It's OK for now, I guess.
Reply
03-05-2007, 10:43 AM,
#32
 
Hi Joe,

I think there is still some problem with the track reverse change. Now the position calculation in normal mode seems wrong. In Vamos_World::World::update_race_position (), you are taking the car's distance relative to the front edge of the patch. This is correct when the track is reversed. But it's wrong when in normal direction. Seems you have introduced a function BEZIER::Reverse() in r1566, but it's not used. Can you check?
Reply
03-07-2007, 12:57 AM,
#33
 
BEZIER::Reverse() isn't meant to be used. I was originally going to reverse the bezier patches, but that screws up the collision detection, and it ended up being easier to fix the position display code than the collision detection code.

For normal mode position calculation, I didn't change anything (or didn't MEAN to) so any bugs there would have already existed. I didn't actually change the "Vamos_World::World::update_race_position ()" function... in R1566 I added some lines and was going to change things, but ended up not changing anything at all (or, again, didn't mean to).
Reply
03-07-2007, 04:54 AM,
#34
 
Thanks for your reply, Joe. I wouldn't have guessed reversing the patch will affect collision detection. I have gone ahead and corrected the calculation in Vamos_World::World::update_race_position () in r1600.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)