Why aren't there bezier curves for collision shape creation?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Footurist

And will there be?

:bust_in_silhouette: Reply From: Artium Nihamkin

I was not able to find any mention of bezier curve collisions both in the roadmap and the general issue baclog on github.

You can use Curve2D and tessellate it. Then generate ConcavePolygonShape2D on runtime. This is not very efficient, and I guess not what you was looking for. You can also try to roll this on your own, like in the following example.

On the other hand, I see no reason why you can not suggest this as a feature. Simply open an issue on github.

Okay, thanks. Btw: Do you know the android game Dune? I’m recreating this for learning purposes and I’ve been trying to figure out how they did this smooth ball movement for a looooong time…

Footurist | 2018-02-11 22:02

Thanks for that answer! For those who want it, here’s a link to a more direct (is:issue bezier collision ) search through GitHub’s issues. I also found a similar Reddit thread from four years ago that has some additional good info, but the same conclusion.

Given the super low number of votes on this thread, the low number of GitHub issues, and how hard it is to find any info really on "godot bezier collision" and similar searches, I’m thinking I (as a total game dev beginner) am missing something crucial here.

jeroenheijmans | 2023-03-07 09:40