Bug #19575
Erroneous this.vessel data returned on FixedUpdate
Status:
New
Severity:
Low
Assignee:
-
Category:
Physics
Target version:
-
Start date:
08/26/2018
% Done:
0%
Language:
English (US)
Mod Related:
No
Votes:
![Arrow u r green](/plugin_assets/vote_on_issues/images/arrow-u-r-green.png?1560451728)
![Arrow d r red](/plugin_assets/vote_on_issues/images/arrow-d-r-red.png?1560451728)
Description
I'm creating parts that use vessel.atmosphericTemperature. Excessive temperature causes these parts to explode.
While attempting to test F5/f9 I discovered all of my parts were exploding.
Reason? vessel.atmospheric temperature was returning: 9423520.13165333 K
The vessel was sitting on the KSC runway.
History
#1
Updated by Fengist over 6 years ago
- Subject changed from this.vessel.atmosphericTemperature in excess of 9 million Kelvin on game load to Erroneous this.vessel data returned on FixedUpdate
this.vessel data, like atmosphericTemperature are being set after the PartModule FixedUpdate runs. This creates some very erroneous readings during the first few cycles of FixedUpdate, like these temperatures:
-3037904.50608881
-4566205.7098681
9423520.13165333