Im trying to make ChatGPT write me a lua code so i can change the behavior of an automatic transmission more in depth than just fine tuning exposed jbeam parameters but up to now i only managed to do 5% of what i want and i keep crashing my game or freezing the physics. Is it even possible? If yes than i presume i have to teach the AI all the inner workings of how Beam handles transmission simulation so i need to show it all the lua's - vehicle controller, automatic transmission, torque converter etc.. Can someone with more knowledge help
Hahahahaha, Don't bother. ChatGPT is awful for "writing code". Specially the more complex you go, as it is unable to test it's own code before using it as an answer or debugging on their own without you being upfront about it. Use ChatGPT to give you a solid "step by step" of what you have to do and write it manually, ask GPT if you get stuck with the logic some moments, but in general its awful for writing code.
if you dont know what you are doing, you shouldnt use chatpgt, its just gonna give you code that you dont understand that you cant implement into beamng.