Merge pull request #35 from Marsdolphin/patch-1

Add Brake and Accelerator pedal motion
This commit is contained in:
Sidi Liang 2020-02-19 21:08:23 +08:00 committed by GitHub
commit 8b5b272132
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>