Skip to content

class_circleshape2d

reduz edited this page Feb 23, 2014 · 10 revisions

CircleShape2D

Inherits: Shape2D\n\n

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 ( real radius )

Set the radius of the circle shape;

  • real get_radius ( ) const

Return the radius of the circle shape.

Clone this wiki locally