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

floatradius10.0

Property Descriptions

Default10.0
Setterset_radius(value)
Getterget_radius()

The circle’s radius.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:30:41. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.