FGear Vehicle Physics (v1.4)

Im trying to implement “Clutch Kicking”:

I tried changing by Scale, via button for “Clutch Kick” but the difference between 0 and 100 (or 1000) not seems to give the same effect.

So maybe is my car setup or the clutch/rpm how is done are not working as expected, no idea, so let me know, maybe i should use another workaround for same effect?

@lazybitgames , would it be possible to make the white wireframe wheel in Debug adjust to the forward offset (as it already does with the Rim offset)? I’m fine-tuning the wheel offset relative to the kingpin rotation with the UFGearWheel.setLateralOffsets function, but it’s harder without visual feedback.

you just misinterpret what clutch state and clutch scale are. the real clutch value is clutch state, clutch scale is an artificial value that should be rarely used like in the clutch assist case. there is no bug there.

with a steering wheel and pedals clutch kicking should work naturally. if you want to trigger a clutch kick in a realistic manner then you should be altering the clutch state not clutch scale.

if you want to observe what clutch scale does you should use a smaller number like 0.2. 1.0 or more might behave the same in most cases. reducing the clutch scale might also behave similar to a clutch kick, it would let the engine revup without getting slowed down by the wheel speed.

2 Likes

yes, it looks I have forgotten to apply other offsets to the debug view. adding this to the todo list.

Thanks!

@lazybitgames In the same way is possible get the RPM of different axles, is possible get the “mLngFrictionForce” for each axle? or the friction of each axle?

Using the TorqueSplitter as Center L-S-D works fine as real ones due they are based on RPM differences, les RPM usually means they have more friction so more torque is sent to that axle, but there are some exceptions where the torque is sent to the wrong axle like in real life. In that cases driver skills can manage that, but due here we have access to friction values, better using that for 100% accuraccy, but no idea if possible and how. ¿?

we use feedback torque for differential calculations.
for each axle you can call axle.getFeedbackTorque()

I was thinking in some way to get “mLngFrictionForce + mLatFrictionForce” of each axle, to get the total friction, then send more torque to the one with more to mimic what a Center L-S-D should do.

Will try then with FeedBackTorque to see how it does.