CircleShape2D

Inherits: Shape2D < Resource < Reference < 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

float radius

Default 10.0
Setter set_radius(value)
Getter get_radius()

The circle's radius.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_circleshape2d.html