When a piece is trying to reach its hovering position, but you let go off the mouse button, the linear_velocity is kept for future physic processes. This leads to the piece flying very very high (until it reaches HELL).
I set the linear_velocity in Y to 0 when we stop hovering. This fixes the issue. Tossing an object does not modify it's Y axis so it shouldn't break any other behavior.
Fixes/Solves Fixes #166
When a piece is trying to reach its hovering position, but you let go off the mouse button, the linear_velocity is kept for future physic processes. This leads to the piece flying very very high (until it reaches HELL).
I set the linear_velocity in Y to 0 when we stop hovering. This fixes the issue. Tossing an object does not modify it's Y axis so it shouldn't break any other behavior.