is there a method for "create single convex collision shape"?

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

I’m know that there’s an option in editor but I can’t seem to find a method in the docs. Would it make any difference if I create a convex shape from a mesh instead?

:bust_in_silhouette: Reply From: Bestial

Not sure, but this might be a duplicate of: https://forum.godotengine.org/33354/generate-collision-shape-of-mesh-from-code

So, it looks like MeshInstance has the methods create_convex_collision ( ) and create_trimesh_collision() to generate convex/concave collision shapes.