Skip to content

[Bullet] No shape ID in a result of RayCast against PhysicsBody with multiple ConcavePolygonShapes. #62223

Open
@dmitrijbes

Description

Godot version

v3.5.rc4.official [e047c50]

System information

Windows 10

Issue description

According to doc intersect_ray must have shape id in resulting Dict.
However, its always 0.

This issue was already reported and fixed in #55533.
According to changelog it must be fixed in 3.5 rc4.

It doesn't.

Steps to reproduce

  1. Create 2 Shapes and add to StaticBody.
  2. Racayst shapes using intersect_ray.
  3. Look for shape id in raycast result Dict.

You can find example in attached MRP.

Minimal reproduction project

raycast_shape_bug.zip

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions