Anyway, the ball has its performance deactivation disabled, because it's the main game entity (e.g.
Code: Select all
setActivationState(DISABLE_DEACTIVATION);
Its velocity is increasing in the direction of gravity, and the component of the velocity in the 'down' direction gradually goes from almost 0 to higher and higher over time. The ball seems to 'sink' slightly in to the platform and then be reset on top of it again over and over again. After leaving it for about a minute, the velocity goes to about [0, -50, 0], and gravity is [0, -490.50, -0]. At this point the ball almost sinks 25% of the way in to the platform before being set on top of it from frame to frame. The ball has continuous collision detection enabled. If you're curious about the scale, the ball's radius is 4.0.
So my question is: Is there a way either to stop the velocity being set incorrectly, or failing that, to stop it vibrating?