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.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_circleshape2d.html