godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.89k stars 21.04k forks source link

segment_intersects_convex problem #69455

Open Kemikal1 opened 1 year ago

Kemikal1 commented 1 year ago

Godot version

3.5.1 stable

System information

Windows10, Ryzen 5600

Issue description

SegmentIntersectsConvex seems to intersect segments that arent actually intersecting the convex shape but also the planes which define the shape. Is this how the function is supposed to work? If it isnt ill try to make time to provide a minimal reproduction project. Godot bug

Steps to reproduce

Try the method segment_intersects_convex with a segment that doesnt intersect the hull but intersects a plane of that hull.

Minimal reproduction project

test.zip

Calinou commented 1 year ago

@Kemikal1 Please upload a minimal reproduction project to make this easier to troubleshoot.

Also, Godot 3.4.x is not supported for bug fixes anymore, so please upgrade to 3.5.1 and check if the issue still occurs there.

Kemikal1 commented 1 year ago

Update the with a project and 3.5.1 version