Project

General

Profile

Bug #19575

Erroneous this.vessel data returned on FixedUpdate

Added by Fengist over 5 years ago. Updated over 5 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Physics
Target version:
-
Start date:
08/26/2018
% Done:

0%

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

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 5 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

Also available in: Atom PDF