CircleShape2D

Inherits: Shape2D < Resource < Reference < Object

Category: Core

Brief Description

Circular Shape for 2D Physics.

Member Functions

float get_radius ( ) const
void set_radius ( float radius )

Description

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

Member Function Description

  • float get_radius ( ) const

Return the radius of the circle shape.

  • void set_radius ( float radius )

Set the radius of the circle shape.