Describe the bug
while the fix in #71 helped quite a bit, i still believe there is some weirdness in how rotations of bodies are handled.
Depending on how my AnimatableBody2D is rotated, i can observe anything from extreme velocity increases to clipping.
The master with #73 in particular is more erratic.
To Reproduce
Steps to reproduce the behavior:
Open the scene and play
press r to spawn pinballs over the left and right flipper
interact with the marbles using shift or ctrl (shift is now a lower velocity flip, ctrl is higher velocity flip with initial delay)
observe that the right flipper causes extreme velocity increases, sometimes flips by itself, and sometimes the marble clips through it
stop play
very slightly change the rotation of FlipperR in game GameScene.tscn from 142.6 down to 140.
play again
observe that the physics are working perfectly fine
Expected behavior
Consistent physics no matter how bodies are rotated
Versions (please complete the following information):
OS: Windows
Godot v4.2.rc1.mono.official [ad72de508]
Box2d master with #73
Box2d master with #71 is "better" - however in that version the marble clips every single time through the right flipper on the ctrl flip (and also works perfectly fine when changing the rotation from 142.6 down to 140)
Describe the bug while the fix in #71 helped quite a bit, i still believe there is some weirdness in how rotations of bodies are handled. Depending on how my AnimatableBody2D is rotated, i can observe anything from extreme velocity increases to clipping. The master with #73 in particular is more erratic.
To Reproduce Steps to reproduce the behavior:
Expected behavior Consistent physics no matter how bodies are rotated
Project If applicable, add a reproducible project to help explain your problem. project_wild_rotations_2023_11_23_1.zip
Versions (please complete the following information):