CapsuleShape

Inherits: Shape < Resource < Reference < Object

Capsule shape for collisions.

Description

Capsule shape for collisions.

Properties

floatheight1.0
floatradius1.0

Property Descriptions

Default1.0
Setterset_height(value)
Getterget_height()

The capsule’s height.


Default1.0
Setterset_radius(value)
Getterget_radius()

The capsule’s radius.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:30:41. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.