0 votes

I have a bunch of stuff that I want to implement custom physics on, and I would like to attach non-rectangle collision shapes to them. Is there something I can use that works similar to Area2D but that will let me draw a polygon like CollisionPolygon2D?

in Engine by (16 points)

Well... use an Area2D with a CollisionPolygon2D as child of it? You just said it, it allows you to draw any polygon. You can also use this as child of KinematicBody2D or RigidBody2D, however I think concave shape aren't supported.

Please log in or register to answer this question.

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.