0 votes

I'm looking to create the two types of shapes in the middle:
enter image description here

Sorry if this is a stupid question, I'm very new to Godot. Help much appreciated!

Godot version v3.5.1
in Engine by (15 points)

When you say create the shape what do you mean? A sprite with that shape or a collision shape with that shape or something else?

A 3D meshinstance and collisionshape with that shape. Doesn't have to exactly be like in the diagram, I'm just asking how to create a concave surface in 3D.

1 Answer

0 votes

If you create a collision polygon2d you can then trace out any shape you want. The more points of reference you use the more smooth the concave or convex surface will be. In principle a rounded edge is just a polygon with an infinite number of points. If you really wanted you could use calculus to create a curve with a very large number of points which you could program in but in practice I am not sure you would ever need to actually do that.

by (3,321 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 Frequently asked questions and 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 [email protected] with your username.