Menu

Commit [r3480]  Maximize  Restore  History

an24b: animate propellers over multiplayer.

JSBSim populates the properties /fdm/jsbsim/propulsion/engine[*]/propeller-rpm,
duplicated in /engines/engine[*]/thruster/rpm. Either property may be used to
animate the propellers and various instruments. However neither of these properties
is transmitted over multiplayer by default. Instead, the mp protocol specifies
/engines/engine[*]/rpm. The solution is simply to:

- declare /engines/engine[*]/rpm as an alias for /engines/engine[*]/thruster/rpm
- use /engines/engine[*]/rpm for the propeller spin animation.

(it would be nice in the future to have propeller disks when rpm is high).

lbrenta 2018-08-24

changed /trunk/Aircraft/an24b/Models/An-24B.xml
changed /trunk/Aircraft/an24b/an24b-set.xml
/trunk/Aircraft/an24b/Models/An-24B.xml Diff Switch to side-by-side view
Loading...
/trunk/Aircraft/an24b/an24b-set.xml Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB