CapsuleShape2D

Inherits: Shape2D < Resource < Reference < Object

Category: Core

Brief Description

Capsule shape for 2D collisions.

Properties

float height 20.0
float radius 10.0

Description

Capsule shape for 2D collisions.

Property Descriptions

Default 20.0
Setter set_height(value)
Getter get_height()

The capsule’s height.

Default 10.0
Setter set_radius(value)
Getter get_radius()

The capsule’s radius.