My latest science station has a full crew compliment of 40, replete with a fuel depot, communications pod, and docking zone. The hab area doubles as life rafts, as they can each detach and survive re-entry.
Also, it puts itself together for me, which is nice.The assembly is sped up to be respectful of the viewers time.
Actual assembly is about 6 minutes. One of the biggest issues was that the physics engine seems to impart some excess energy to the docking vessels immediately after they are docked. Normal physics don't seem to affect it, as even very clean docks to large objects result in some violent rocking motion. So the pods had to be able to account for that and reset if their path was interrupted by the reaction of another pod docking.
It seems to teleport ever so slightly and also aquire some rotational momentum.
I tried turning the docking magnets way down but it could still rock heavily during the lightest docking. I think the game engine just has some artifacts as it recalculates the size of the vessel.
yeah sounds like game engine error like position and speeds in all vectors is recalculated and there might be tiny rounding errors which result in the rapid changes you see when they're applied the instant you dock. I would expect ksp to look at the new craft as one fully new connected craft instead of a sum of its multiple parts.
does the error change with distance to kerbin? I read somewhere that kerbin is the 0,0,0 point in the game and the further you go the more floating point errors you'd get, but it might be an old hat
I've been hesitant to release scripts since they are often wonky and cobbled together and my life is too complicated at the moment to properly support them.
So I think my plan is to create some youtube videos on the basic principles behind how some of my scripts work with some code explained as I go.
So what did you do to make this happen? I'm sorry I am a vetnoob , I've been playing for years but am still such a novice. Can you do a video or link me something to learn it. I am at like a skylab level rn I have alot of research but that many do king's at once. I mean dang
979
u/lodurr_voluspa Jun 26 '22
My latest science station has a full crew compliment of 40, replete with a fuel depot, communications pod, and docking zone. The hab area doubles as life rafts, as they can each detach and survive re-entry.
Also, it puts itself together for me, which is nice.The assembly is sped up to be respectful of the viewers time.
Actual assembly is about 6 minutes. One of the biggest issues was that the physics engine seems to impart some excess energy to the docking vessels immediately after they are docked. Normal physics don't seem to affect it, as even very clean docks to large objects result in some violent rocking motion. So the pods had to be able to account for that and reset if their path was interrupted by the reaction of another pod docking.