If a vehicle brake is applied, certain events are triggered. After an event is triggered adapted components are rotated. There are two kinds of events,
- When hand brake is applied - S
- When the brake pedal is applied - SPACE
Hand brake
On hand brake event the triggered the adapted component will rotate on the Z axis. To adapt name your component as fc_fbrake
. Optionally you can choose a time for the script to wait in-between the rotation. For that add a suffix _ms(wait_time)
(milliseconds). By default, the script uses 1 ms as wait time. Also if you need to tweak how much angle it changes you can do that by adding a suffix _az(angle)
. By default, the script uses 15.
Brake pedal
On the brake pedal event, the triggered the adapted component will rotate on the X axis. To adapt name your component as fc_rbrake
. Optionally you can choose a time for the script to wait in-between the rotation. For that add a suffix _ms(wait_time)
(milliseconds). By default, the script uses 1 ms as wait time. Also if you need to tweak how much angle it changes you can do that by adding a suffix _ax(angle)
. By default, the script uses 15.