class_capsuleshape - vkbsb/godot GitHub Wiki
CapsuleShape
####Inherits: Shape ####Category: Core
Brief Description
Capsule shape resource.
Member Functions
- void set_radius ( float radius )
- float get_radius ( ) const
- void set_height ( float height )
- float get_height ( ) const
Description
Capsule shape resource, which can be set into a PhysicsBody or area.
Member Function Description
set_radius
- void set_radius ( float radius )
Set the capsule radius.
get_radius
- float get_radius ( ) const
Return the capsule radius.
set_height
- void set_height ( float height )
Set the capsule height.
get_height
- float get_height ( ) const
Return the capsule height.