Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
Sphere shape resource for 3D collisions.
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.