Hello,
i'm developing a ray cast based vehicle drifting game in Unity engine for a while now ! The game is already playable but i have things hacked and not physically correct. I would like to make the game experience better !
- I have a simple car engine. Torque is based on throttle and a lookup curve, also supports a friction RPM based friction. The torque is pushed to the rear wheels with equal split ( no proper differential and clutch yet ) !
- The clutch is a simple lerping of a value from 0 to 1 based on input !
So, what i'm after:
- “what would be a good/better way to adjust engine RPM based on the feedback torque/rpm from drive wheels" ? I want to get e little more realistic feel of engine work… What i'm doing now is something like lerp engine RPM to match the wheels rpm over small amount of time so the dash board RPM hand doesn't just pop to match it ( when clutch is set t 1 ). Not that good !
- The Clutch. Can you point me to some source of Clutch implementation that i can understand how it works and how to implement it in game !
Really want to make the game experience better but i'm still learning and have not that much experience on vehicle dynamics ! Also any suggestions, sharing of knowledge, tips, some example code and such would be highly appreciated : D
Thank You in advance !