CapsuleShape2D

Inherits: Shape2D < Resource < Reference < Object

Capsule shape for 2D collisions.

Description

Capsule shape for 2D collisions.

Properties

float

height

20.0

float

radius

10.0

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.