CapsuleShape2D

Inherits: Shape2D < Resource < RefCounted < Object

Capsule shape for 2D collisions.

Description

Capsule shape for 2D collisions.

Properties

float

height

30.0

float

radius

10.0

Property Descriptions

Default

30.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.