CapsuleShape2D
Inherits: Shape2D < Resource < Reference < Object
Capsule shape for 2D collisions.
Description
Capsule shape for 2D collisions.
Properties
float | height | 20.0 |
float | radius | 10.0 |
Property Descriptions
float height
Default | 20.0 |
Setter | set_height(value) |
Getter | get_height() |
The capsule's height.
float radius
Default | 10.0 |
Setter | set_radius(value) |
Getter | get_radius() |
The capsule'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_capsuleshape2d.html