CylinderShape

Inherits: Shape < Resource < Reference < Object

Cylinder shape for collisions.

Description

Cylinder shape for collisions.

Note: When using RedotPhysics instead of the default Bullet physics engine, there are several known bugs with cylinder collision shapes. Using CapsuleShape or BoxShape instead is recommended.

Tutorials

Properties

float

height

2.0

float

radius

1.0


Property Descriptions

float height = 2.0

  • void set_height ( float value )

  • float get_height ( )

The cylinder's height.


float radius = 1.0

  • void set_radius ( float value )

  • float get_radius ( )

The cylinder's radius.