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 = 20.0

  • void set_height ( float value )

  • float get_height ( )

The capsule's height.


float radius = 10.0

  • void set_radius ( float value )

  • float get_radius ( )

The capsule's radius.