Summary: | Ball reverses direction on bounce. | ||
---|---|---|---|
Product: | [Applications] kbreakout | Reporter: | alexngould |
Component: | general | Assignee: | Viranch Mehta <viranch.mehta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde-games-bugs |
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kbreakout/c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744 | Version Fixed In: | 16.08 |
Sentry Crash Report: |
Description
alexngould
2013-12-14 21:16:02 UTC
Git commit c0d7daa0789fb8c7bf798c2a19eab764f9205d10 by Julian Helfferich. Committed on 23/07/2016 at 18:31. Pushed by helfferich into branch 'master'. Fix collision detection. When the ball intersects with two bricks after a time step, a function was called to calculate the overlap with each of these bricks. Due to a bug, the calculation always returned NaN and the ball always bounced off of the second brick (independent from the overlap). This bug has now been fixed. The bug caused the ball to frequently change direction on a bounce. This issue is now fixed. FIXED-IN: 16.08 REVIEW: 128472 M +3 -3 src/qml/logic.js http://commits.kde.org/kbreakout/c0d7daa0789fb8c7bf798c2a19eab764f9205d10 Git commit c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744 by Julian Helfferich. Committed on 23/07/2016 at 18:45. Pushed by helfferich into branch 'Applications/16.08'. Fix collision detection. When the ball intersects with two bricks after a time step, a function was called to calculate the overlap with each of these bricks. Due to a bug, the calculation always returned NaN and the ball always bounced off of the second brick (independent from the overlap). This bug has now been fixed. The bug caused the ball to frequently change direction on a bounce. This issue is now fixed. FIXED-IN: 16.08 REVIEW: 128472 M +3 -3 src/qml/logic.js http://commits.kde.org/kbreakout/c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744 |