Sphere#

class Sphere#

A solid sphere. Created using add_sphere().

Note

The sphere is drawn with an additive material, so a darker color draws it more transparent.

Base class: SphereShape
center#

Position of the center of the sphere.

Attribute:

Can be read or written

Return type:

tuple(float, float, float)

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

radius#

Radius of the sphere, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph