You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
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
Box2d master with fix large rotation and also do rotation in smallest direction #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)
The text was updated successfully, but these errors were encountered:
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):
The text was updated successfully, but these errors were encountered: