KSPModdingLibs/KSPCommunityFixes

Ground anchor levitates after a scene load

Opened this issue · 2 comments

The Stamp-o-Tron ground anchor teleports upward every save. I have not found a way to reverse the effect.

Reproduction is simple:
place a ground anchor
go to tracking station
load ground anchor
image

KSP.zip

there are 2 issues here actually. one is that an anchor is moved to be placed on the ground on load but it is placed at the wrong height. the other one is that vessel coordinates are saved based on root part position and rotation but the vessel bends under it's own weight, so when loaded it has anchor at different position.

for the first issue probably need to reload anchor after placing it so that it will no longer move on next loads.

for the second issue need to automatically make the anchor a root part whenever vessel has it.

This is a very annoying bug, and I see it appearing under other circumstances : when warping and dewarping, the anchor also jumps upward.
And, but I may be very wrong about this, I only saw that issue after installing the communityfixes. But I may just have missed it before.