Template:Body data/SOI

From Kerbal Space Program Wiki
< Template:Body data
Revision as of 10:33, 11 September 2013 by XZise (talk | contribs) (Created page with "<includeonly>{{#if: {{BodyData|{{{1}}}|parent}}|{{#expr: ({{BodyData|{{{1}}}|periapsis}}+{{BodyData|{{{1}}}|apoapsis}})/2*({{BodyData|{{{1}}}|mass}}/{{BodyData|{{BodyData|{{{1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the radius of the sphere of influence of a celestial body in meters. It uses the mass (m, mparent), apoapsis (a), periapsis (p) and parent (mparent) parameters with {{BodyData}} for the given body. Returns an empty string, if the body has no parent object (like Kerbol).