You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dug into it more and stumble upon great research by pouleyKetchoupp.
In short, its a bug of Bullet integration, which was quick-fixed with exception:
Single PhysicsBody, which owns multiple ConcavePolygonShapes always return 0 instead of shape id.
As always with such things, this unlikely exception is exactly my case)
How To Fix
I circumvented issue by switching to GodotPhysics. Project -> Project Settings -> Physics -> Physics Engine
Still would not close this issue, because solution is far from good and issue is not documented anywhere.
I spent several hours fixing it, hopefully this info will save someone's time)
dmitrijbes
changed the title
No shape ID in RayCast result Dict.
No shape ID in a result of RayCast against PhysicsBody with multiple ConcavePolygonShapes.
Jun 19, 2022
akien-mga
changed the title
No shape ID in a result of RayCast against PhysicsBody with multiple ConcavePolygonShapes.
[Bullet] No shape ID in a result of RayCast against PhysicsBody with multiple ConcavePolygonShapes.
Jun 19, 2022
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
You can find example in attached MRP.
Minimal reproduction project
raycast_shape_bug.zip
The text was updated successfully, but these errors were encountered: