CapsuleShape

Inherits: Shape < Resource < Reference < Object

Capsule shape for collisions.

Description

Capsule shape for collisions.

Tutorials

Properties

float

height

1.0

float

radius

1.0

Property Descriptions

float height

Default

1.0

Setter

set_height(value)

Getter

get_height()

The capsule's height.

float radius

Default

1.0

Setter

set_radius(value)

Getter

get_radius()

The capsule's radius.

© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_capsuleshape.html