W3cubDocs

/Godot 3.0

CapsuleShape2D

Inherits: Shape2D < Resource < Reference < Object

Category: Core

Brief Description

Capsule shape for 2D collisions.

Member Variables

  • float height - The capsule’s height.
  • float radius - The capsule’s radius.

Description

Capsule shape for 2D collisions.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_capsuleshape2d.html