mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
9186c4c8d2
This PR fixes https://github.com/bevyengine/bevy/issues/1240, where the ball is escaping the playing field at low framerates. I did this by moving the movement and physics system into a Fixed Timestep system set and changing the movement steps to a constant. So we lose the example use of delta_time for changing position, but gain a use of FixedTimestep. If this is accepted https://github.com/bevyengine/bevy-website/pull/102 will need to be updated to match. Co-authored-by: Carter Anderson <mcanders1@gmail.com> |
||
---|---|---|
.. | ||
alien_cake_addict.rs | ||
breakout.rs |