After completing the tutorial video at Godot Nodes 101: Raycast2D Gun Tutorial I move the Player up and left so it approaches a target, obstacle or turret diagonally and when pressing fire, the ray (even when in-line and within range) doesn't collide with anything so no hit is generated.
If the Player is stationary and pointing up and left with any target, obstacle or turret in-line and within range of the ray and I press fire, the ray collides and a hit is generated.
What is the expected behavior?
Moving the Player diagonally up and left whilst firing at a target that is in line and in range should produce a hit.
Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.
I'm submitting a...
Bug report
What is the current behavior?
This relates to the Godot Nodes 101: Raycast2D Gun Tutorial code.
After completing the tutorial video at Godot Nodes 101: Raycast2D Gun Tutorial I move the Player up and left so it approaches a target, obstacle or turret diagonally and when pressing fire, the ray (even when in-line and within range) doesn't collide with anything so no hit is generated.
If the Player is stationary and pointing up and left with any target, obstacle or turret in-line and within range of the ray and I press fire, the ray collides and a hit is generated.
What is the expected behavior?
Moving the Player diagonally up and left whilst firing at a target that is in line and in range should produce a hit.
Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.