Attention: Here be dragons
This is the latest
(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...
SphereShape3D¶
Inherits: Shape3D < Resource < RefCounted < Object
Sphere shape resource for 3D collisions.
Description¶
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.
Tutorials¶
Properties¶
|
Property Descriptions¶
float radius = 0.5
The sphere's radius. The shape's diameter is double the radius.