SphereShape
Inherits: Shape < Resource < Reference < Object
Sphere shape for 3D collisions.
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.
Tutorials
Properties
|
Property Descriptions
float radius
Default |
|
Setter | set_radius(value) |
Getter | get_radius() |
The sphere's radius. The shape's diameter is double the radius.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_sphereshape.html