Floating stuff
Posted: Sun Feb 03, 2013 11:37 am
I am making a game with floating stuff. Because other non-floating stuff can stand on the stuff, i do not know the weight of the sum of objects. How can i make the floating stuff come to rest at a constant position, even with gravity and other objects standing on it?
My first idea would be to counter the gravity with an impuls based on the speed of the object, but then you are always a round too late, and the object will swerve around its original origin.
My first idea would be to counter the gravity with an impuls based on the speed of the object, but then you are always a round too late, and the object will swerve around its original origin.