Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Bug: Godot Nodes 101: Raycast2D Gun Tutorial code. #56

Open
1 of 2 tasks
rKinson opened this issue Jan 11, 2020 · 0 comments
Open
1 of 2 tasks

Bug: Godot Nodes 101: Raycast2D Gun Tutorial code. #56

rKinson opened this issue Jan 11, 2020 · 0 comments
Labels

Comments

@rKinson
Copy link

rKinson commented Jan 11, 2020

I'm submitting a...

  • Bug report.
  • Feature request.

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.

  1. Enable the 'Visible Collision Shapes' option.
  2. Run the Godot Nodes 101: Raycast2D Gun Tutorial code.
  3. Do what I describe above in "What is the current behaviour" section.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants