godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.47k stars 1.53k forks source link

Multiplayer Bomber, fixes PhysicsRayQuery #987

Closed Alex2782 closed 8 months ago

Alex2782 commented 8 months ago

v4.1.2.stable.official [399c9dc39]

If the bomb and the player are at the same position, then intersect_ray returns no result. query.hit_from_inside = true, fixes the problem. The other changes were made automatically by Godot.

https://github.com/godotengine/godot-demo-projects/assets/41921395/fa8123dc-3ba6-4e09-b6fa-4e023d728044