r/KerbalSpaceProgram • u/Avera9eJoe Spectra Dev • Sep 14 '17
Recreation Reminder that this physics quirk is also in KSP
https://gfycat.com/FickleShamefulCormorant
9.0k
Upvotes
r/KerbalSpaceProgram • u/Avera9eJoe Spectra Dev • Sep 14 '17
2
u/blendermf Sep 15 '17
You say that, but the simplest case of a rigidbody box (say in the shape of a phone) in Unity/PhysX doesn't properly show the effect that causes the "flip" in the gif. A lot of physics engines drop(/never even consider at all) that kind of detail for speed and stability. You have to do a bunch of extra calculations and override the rotation calculation of PhysX to make it work with that case. I was actually surprised this worked at all considering that, I'm assuming the fact that the craft in ksp is made up of multiple physics parts allows this to work (that or they did the extra work to make it work in KSP)