SphereShape3D

Inherits: Shape3D < Resource < RefCounted < Object

Sphere shape for 3D collisions.

Description

Sphere shape for 3D collisions, which can be set into a PhysicsBody3D or Area3D. This shape is useful for modeling sphere-like 3D objects.

Properties

float

radius

1.0

Property Descriptions

Default

1.0

Setter

set_radius(value)

Getter

get_radius()

The sphere's radius. The shape's diameter is double the radius.