+1 vote

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?

in Engine by (65 points)

1 Answer

0 votes

Not sure, but this might be a duplicate of: https://godotengine.org/qa/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.

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.