class_capsuleshape - dragonsoulz/godot GitHub Wiki

CapsuleShape

####Inherits: Shape ####Category: Core

Brief Description

Capsule shape resource.

Member Functions

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.