var turbine_rpm = props.globals.getNode("rotors/main/rpm");
var rotor_rpm = props.globals.getNode("rotors/tail/rpm");
setprop("sim/model/aircrane/turbine-rpm-pct",186/turbine_rpm);
setprop("sim/model/aircrane/rotor-rpm-pct",750/rotor_rpm);
<rotor name="main"
rpm="185"
</rotor>
<rotor name="tail"
rpm="750"
</rotor>
You should not be using setprop in a loop. Inefficient. Use props.nas instead.
wlbragg wrote in Fri Sep 20, 2019 9:08 am:Gimp is a pain and obviously somewhat limited for this type of drawing..
Users browsing this forum: No registered users and 5 guests