Physics of the driver inside the cockpit

I have developed a mod to realistically simulate the effect of the car's physics on the driver's body, but I am facing an issue with the position of the arms. While I have successfully translated all the axes of G-force into the body, I am unsure how to adjust the position of the hands to achieve the perfect alignment. Can anyone assist me in structuring and writing this properly?
The file is the line of code I've written. This code line should be placed in the extension folder of each car individually. Inside the folder, there is a file named "ext_config". If the car doesn't have this folder, you simply create it, and within it, create a document named "ext_config". Then, insert the code line I provided. I also attach a video to show how the body works, and hopefully, someone can help me. Please make sure to follow these steps correctly for the mod to work properly.






 

Attachments

  • Nuevo documento de texto.txt
    1.1 KB · Views: 7
The thing you're asking for is really complicated, the only option I can think of that has a chance of being feasible without tweaking it for every single car, is to calculate the sum of changes you've made to the shoulder joint, then apply a transform to those bones that undoes all of that. So the body moves, but the shoulders don't, and the original steering animations can still work. Next thing other than that is to implement an Inverse Kinematics program but that's not something someone could just explain in a forum post.
 
Last edited:

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 109 88.6%
  • Better structured events

    Votes: 21 17.1%
  • Better structured racing club forum

    Votes: 20 16.3%
  • More use of default game content

    Votes: 17 13.8%
  • More use of fixed setups

    Votes: 37 30.1%
  • No 3rd party registration pages

    Votes: 46 37.4%
  • Less casual events

    Votes: 12 9.8%
  • More casual events

    Votes: 40 32.5%
  • Other, specify in thread

    Votes: 6 4.9%
Back
Top