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 = 10.0

  • void set_radius ( float value )

  • float get_radius ( )

The circle's radius.