Open Wuzzy2 opened 8 years ago
I think the physics are correct, apart from friction. The effect of coke bottles at the end of the bar is rather heavy, that's correct. The speeding up should stop once the bottles are empty.
However, you are correct that PivotPoints do not incorporate friction. That's an oversight and should be fixable.
I'm not sure if this is pre-1.0 material, though.
The level “Cola-Powered Bike” exposes a weirdness in the game physics: If the wooden bar with the two cola bottles rotates, it will rotate faster and faster and probably never stops rotating, even after all the cola has been used up, it goes faster. I expect the bar to slow down over time.
This seems to be a problem with things with a pivot point; things which rotate do not slow down over time, so I guess the weight of the cola bottles only accellerates the movement but there is nothing which slows down the rotation, making it faster and faster, which is crazy. :D
My suggestion is to add some sort of “dampening” to all things with a pivot point, maybe even configurable through a property on an per-object basis. The goal should be that rotating objects (with pivot points) should have some mechanism to slow down.
Note: This also happens with other objects with pivot points, like the rotating bar, the hammer which seems to don't lose much force when swinging, etc.