CollisionPolygon
Category: Core
Allows editing a collision polygon’s vertices on a selected plane. Can also set a depth perpendicular to that plane. This class is only available in the editor. It will not appear in the scene tree at runtime. Creates a for gameplay. Properties modified during gameplay will have no effect.
- float depth
If , no collision will be produced.
- polygon