What's the best option for hitbox that's polygonal in shape but has no physics?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EulersIdentity
:warning: Old Version Published before Godot 3 was released.

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?

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.

Zylann | 2017-08-30 12:50