Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.
This repository was 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

@MaxMorgon

Description

@MaxMorgon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions