KSPModdingLibs / KSPCommunityFixes

Community patches for bugs in the KSP codebase.
https://github.com/KSPModdingLibs/KSPCommunityFixes/releases/latest
59 stars 20 forks source link

Ground anchor levitates after a scene load #214

Open StormCircuit opened 8 months ago

StormCircuit commented 8 months ago

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

Searcher-M commented 5 months ago

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.

Gouvernathor commented 4 months ago

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.