0 votes
by
Can i somehow raise an event when vehicle is shifting up or down gears? I want to activate flame particles on gear shift.

Thanks

1 Answer

0 votes
by
selected by
 
Best answer

Monitor the value GearShifting in the Vehicle channel of the Data Bus in the FixedUpdate cycle:

https://vehiclephysics.com/advanced/databus-reference/#vehicle-channel

GearboxShiftingIs the gearbox in the middle of a gear shift operation?0 = no, 1 = yes

When GearboxShifting goes from 0 to 1 then the gearbox has started a gear shift operation:

  • Manual Transmission: current gear is disengaged to Neutral.
  • Automatic Transmission: current gear is progressively shifted to next gear.

When GearboxShifting goes from 1 to 0 then the gearbox has completed the gear shift operation. The value GearboxGear contains the new gear number. 

by
That worked! Just what i want.
Thanks you very much Edy.
...