+1 vote

What is the best way to create a collisionshape for a physics 3D character?
enter image description here

in Engine by (33 points)

There is no best way, but one way is to model a low-poly cone in a 3D editor, export it as OBJ, import it in Godot and generate the appropriate trimesh collision shape out of it?
Or generate it ingame with a script that creates the trimesh with a bit of math...

Nice, I found in the mesh options. Thank you.

1 Answer

+1 vote

May not be related but to check if somethings is inside a cone via code then you can have a vector that orient your "cone" and get the vector to the target, test dot product and distance to the target.

by (29 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.