appsinacup / godot-rapier-physics

Godot Rapier Physics – 2D and 3D physics engine for the Godot game engine. with better stability, performance, liquids, determinism, state serialization and no ghost collisions.
https://godot.rapier.rs
MIT License
421 stars 22 forks source link

Polygon segment shape incorrectly gives an error on there being missing points #280

Closed AntonBergaker closed 1 month ago

AntonBergaker commented 1 month ago

Describe the bug

Polygon segment shape incorrectly gives an error on there being missing points. This error is logged but doesn't seem to affect physics.

To Reproduce Create any CollisionPolygon2D with at least 2 points and observe the error.

Expected behavior Squeaky clean console

Environment:

Example project(zip) rapiersegments.zip