orbitersim / orbiter

Open-source repository of Orbiter Space Flight Simulator
MIT License
1.62k stars 220 forks source link

[Lua]Add radiation pressure callback and oapiSetMeshProperty #483

Closed TheGondos closed 1 month ago

TheGondos commented 3 months ago

This PR adds support for the clbkGetRadiationForce callback in Lua. I started to port the SolarSail vessel but its visual is broken and only works with MOGE so I'll leave it as it is for the time being. As a result the oapiSetMeshProperty has been added too since the SolarSail was making use of it.

TheGondos commented 2 months ago

Added SolarSail in Lua. Can be a bit sluggish because of the way the sail is animated but should be good enough as an example.