Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Inherits: Shape3D < Resource < RefCounted < Object
Sphere shape resource for 3D collisions.
3D sphere shape to be added as a direct child of a PhysicsBody3D or Area3D using a CollisionShape3D node. This shape is useful for modeling sphere-like 3D objects.
Performance: Being a primitive collision shape, SphereShape3D is the fastest collision shape to check collisions against, as it only requires a distance check with the shape's origin.
float radius =
The sphere's radius. The shape's diameter is double the radius.