SphereShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Sphere shape for 3D collisions.

Properties

floatradius

Description

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

Property Descriptions

Setterset_radius(value)
Getterget_radius()

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