Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: ShapeCast2D Detection Issue #193

Open
ismettaha opened this issue Aug 10, 2024 · 1 comment
Open

Bug Report: ShapeCast2D Detection Issue #193

ismettaha opened this issue Aug 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ismettaha
Copy link

ismettaha commented Aug 10, 2024

Describe the bug

ShapeCast2D is not functioning as expected with CircleShape2D. It shows unpredictable detection behavior during collisions.

To Reproduce

Slowly move the 'target position' parameter of the ShapeCast2D, with CircleShape2D, towards a CollisionShape2D beneath it, run force_shapecast_update(). This issue is especially noticeable with small collisions and incremental movements.

Expected behavior

ShapeCast2D should reliably trigger whenever it collides with another object. There should not be an large collision intersection area for the detection to occur. This behavior works correctly when using the default engine settings.

Environment:

  • OS: Macos Sonoma 14.4.1
  • Version: 0.7.26
  • Godot Version: v4.2.2.stable.offical [15073afe3]
  • Type: Fast Version With Parallel SIMD Solver

Example project(zip)

A project zip file with no add-ons is attached. Please enable 'visible collision shapes' from the debug menu and press space to start the test.
rapier.zip

@ismettaha ismettaha added the bug Something isn't working label Aug 10, 2024
@Ughuuu
Copy link
Contributor

Ughuuu commented Aug 24, 2024

Haven't investigated what causes it, but I was able to reproduce it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants