CircleShape2D

Inherits: Shape2D < Resource < RefCounted < Object

Circular shape for 2D collisions.

Description

Circular shape for 2D collisions. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast.

Properties

float

radius

10.0

Property Descriptions

Default

10.0

Setter

set_radius(value)

Getter

get_radius()

The circle's radius.