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

ShapeCast won't detect collision with a shape that is off center from its containing body #103

Open
MaxMorgon opened this issue Jan 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MaxMorgon
Copy link

MaxMorgon commented Jan 28, 2024

Describe the bug
ShapeCast will not detect collision with a shape that is off center from the body containing it (rigid or static)

To Reproduce
Steps to reproduce the behavior:

  1. Create a ShapeCast
  2. Create a body
  3. Create a shape for the body and place it off center (the more off center, the less accurate the cast)

Expected behavior
The cast detecting collisions normally

Project
Example Project
See scenarios near labels static off center

Versions (please complete the following information):

  • OS: Windows 10
  • Godot v4.2
  • Box2d v0.9.11
@MaxMorgon MaxMorgon added the bug Something isn't working label Jan 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant