CapsuleShape2D

Inherits: Shape2D < Resource < Reference < Object

Capsule shape for 2D collisions.

Description

Capsule shape for 2D collisions.

Properties

floatheight20.0
floatradius10.0

Property Descriptions

Default20.0
Setterset_height(value)
Getterget_height()

The capsule’s height.


Default10.0
Setterset_radius(value)
Getterget_radius()

The capsule’s radius.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. 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.