The online racing simulator
Help on Path Information
(2 posts, started )
Help on Path Information
[quote]
NODE BLOCK :

1 int 0 centre X : fp
1 int 4 centre Y : fp
1 int 8 centre Z : fp
1 float 12 dir X : float
1 float 16 dir Y : float
1 float 20 dir Z : float
1 float 24 limit left : outer limit
1 float 28 limit right : outer limit
1 float 32 drive left : road limit
1 float 36 drive right : road limit
[/node]

I badly need help ...

I don't know how to check the DriveLeft And DriveRight Limit.


I try a simple perpendicular approach to find the closed point on the direction line, but for sure i miss something cause this approach will be good to calculate the height of the side , but "DriveLeft and DriveRight" seem to not be a distance.


So if someone can spare me with a example on how do i check DriveLimit.

Thx.


So please someone badly need to be ligthed
tri doula! fidelatwite!


hihi!


i found it ... in fact i had the good answer with the perpendicular dist , but i had a typo! so i din't see was right!

i started over today! and got it working perfectely!

Thx! to the creator of LFS , this is just too much! for a game of 40$ , lol

Seriously who's game compagny gave all this available to is user +++ all the require file to understand the original work!

Think about it Brute Rock And Roll will be dethroned by LFS very soon! mouhaha!

Help on Path Information
(2 posts, started )
FGED GREDG RDFGDR GSFDG