CylinderShape

Inherits: Shape < Resource < Reference < Object

Cylinder shape for collisions.

Description

Cylinder shape for collisions.

Properties

float height 2.0
float radius 1.0

Property Descriptions

float height

Default 2.0
Setter set_height(value)
Getter get_height()

The cylinder's height.

float radius

Default 1.0
Setter set_radius(value)
Getter get_radius()

The cylinder's radius.

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