Skip to content

Capsule3D

Defines a capsule in 3D space. Can be used for collision and overlap detection.

Inheritance: * Node * Node3D * Primitive3D


GetHeight

Get the height of the capsule.

Sig: height = Capsule3D:GetHeight() - Ret: number height Capsule height


SetHeight

Set the height of the capsule.

Sig: Capsule3D:SetHeight(height) - Arg: number height Capsule height


GetRadius

Get the radius of the capsule.

Sig: radius = Capsule3D:GetRadius() - Ret: number radius Capsule radius


SetRadius

Set the radius of the capsule.

Sig: Capsule3D:SetRadius(radius) - Arg: number radius Capsule radius