Project

General

Profile

Bug #7114

PhysicsGlobals.SolarLuminosity is 0 (zero) before loading any vessel in a game session

Added by ShotgunNinja over 8 years ago. Updated over 8 years ago.

Status:
Not a Bug
Severity:
Normal
Assignee:
-
Category:
Physics
Target version:
-
Start date:
02/28/2016
% Done:

0%

Version:
Platform:
Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

After starting a game session, PhysicsGlobal.SolarLuminosity is set to 0 (zero). Only after a vessel is loaded (any vessel) it is set to the correct value 3.1609409786213E+24

This has implications for mods expecting the value of the sun luminosity constant to be valid at any time (eg: for background computations).

History

#1 Updated by NathanKell over 8 years ago

  • Status changed from New to Not a Bug
  • % Done changed from 0 to 100

If mods expect that, mods should run the setup method in PhysicsGlobals which is run whenever a scene needs data. Doing otherwise would break interaction with Kopernicus, for example.

Also available in: Atom PDF