I am trying to get the amount of force placed upon each wheel for the dashboard system in my car. However I cannot figure out how to get data out of the drivetrain.wheelInfo system. This is the sort of code that I am trying to get working in the Lua to then be passed onto the javascript to be rendered onto the html. Code: local lFR = drivetrain.wheelInfo[WheelFR].downForce local lFL = drivetrain.wheelInfo[wd.wheelID].downForce local lRR = drivetrain.wheelInfo[wd.wheelID].downForce local lRL = drivetrain.wheelInfo[wd.wheelID].downForce Thanks for any help
Yeah, I have had a look in that. But I couldn't really see where it was getting the data from. Equally (afaik) for vehicles you need to use a lua script to get the data, then pass it to a javascript script to make it act upon a UI in the car (with any processing done in either the js or lua). But the app has no lua, only javascript, so I couldn't tell if it was particularly relearnt.