diff options
author | Keegan Owsley <keegano@gmail.com> | 2020-08-25 19:00:23 -0700 |
---|---|---|
committer | Keegan Owsley <keegano@gmail.com> | 2020-08-26 08:25:28 -0700 |
commit | e148338d428de9d23517c5410853a94dc72458ff (patch) | |
tree | 22ef98c16f921d11a46bd1dd8126e3a1f724d23e /scene | |
parent | 443686d724ce8ac58dcdf09389e9f996aee866c1 (diff) |
Wrap angles to (-pi, pi) in momentum calculation.
Fixes a bug that causes KinematicBody2Ds to produce too much angular
momentum when rotating beyond 180 degrees.
Diffstat (limited to 'scene')
0 files changed, 0 insertions, 0 deletions