The online racing simulator
How to get G-Force
(10 posts, started )
How to get G-Force
Hey.
How can i get G-Force from LFS?
Im using OutGauge
#2 - PoVo
ahahaha
Thank You Povo!

But i cant get from game?
OutSim gives you an acceleration vector and I'm fairly certain the acceleration is expressed in m/s².
Yeah i dont understand!

speed1:=speed100ms;
speed2:=speednow;
sum:=speed1-speed2;

?
To dumb it down:
const float gn = 9.80665; // standard gravity
float gLateral = OutSimPacket.Accel[0] / gn; // X
float gLongitudinal = OutSimPacket.Accel[1] / gn; // Y
float gVertical = OutSimPacket.Accel[2] / gn; // Z

Untested, but should work
Doesnt work for me
Quote :Invalid floating point operation

Language? It should work in C/C++ with the OutSim struct straight from InSim.txt.
Delphi!

How to get G-Force
(10 posts, started )
FGED GREDG RDFGDR GSFDG