Skip to content

class_circleshape2d

reduz edited this page Apr 10, 2014 · 10 revisions

CircleShape2D

####Inherits: Shape2D ####Category: Core

Brief Description

Circular Shape for 2D Physics.

Member Functions

Description

Circular Shape for 2D Physics. This shape is useful for modelling balls or small characters and it's collision detection with everything else is very fast.

Member Function Description

  • void set_radius ( float radius )

Set the radius of the circle shape;

  • float get_radius ( ) const

Return the radius of the circle shape.

Clone this wiki locally