I'm trying to import a boost gauge into beamNG.drive as an aftermarket part, but it just throws errors at me. Notepad of gauge.jbeam: Notepad of 200BX body supporting the gague: File structure (materials.cs and textures no tsetup yet, but shouldn't affect it like this): Models and placement (temporary): Errors in game:
I actually took the jBeam from the semi, so our pieces look near identical. I wonder why it doesn't work on the 200BX then? --- Post updated --- Ok, textures are up and model ingame, but the needle won't move. This is the last problem that needs to be fixed so I can work on the model more.
Issue is such that if you comment out your boost needle prop line, your needle still shows up. Reason needle shows up is that you have that in flexbodies section, it should be only in props section. 2nd problem is that you have origin for needle set to 0,0 while with needles you need to set origin to pivot point of the needle (set 3d cursor to coordinates you wish needle to pivot from, then set origin to 3d cursor or if you feel lazy just origin to geometry). This is my needle: This is your needle: Because of the origin, your needle goes to some other place than where you want: So it just needs commenting out flexbody and setting origin: After that you need to adjust prop rotation which can get annoying as base rotation is in degrees (maybe?) rest are in some other units, I have not been able to match them with radians or degrees, also sometimes you set them and then you set some other number, which after you need to set them differently. Maybe some kind of multiplier of base rotation, but I'm not too sure about that either. It takes few attempts to get needle set right, 0.1 adjustments sometimes are big changes, sometimes you need to set 10.0 to see a change, so good luck with that, it can be bit frustrating, but you will get that set eventually