Add Brake and Accelerator pedal motion

This commit is contained in:
Marsdolphin 2020-02-19 20:47:11 +08:00 committed by GitHub
parent c913ee5c01
commit 91bc0573ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 1 deletions

View File

@ -965,5 +965,28 @@
<pitch-deg>-87</pitch-deg>
</offsets>
</model>
<!-- Accelerator -->
<animation>
<type>translate</type>
<object-name>accelerator</object-name>
<property>/controls/engines/engine/throttle</property>
<factor> 0.05 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Brake pedal -->
<animation>
<type>translate</type>
<object-name>brake</object-name>
<property>/controls/gear/brake-left</property>
<factor> 0.03 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>