W3cubDocs

/Godot 3.0

SphereShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Sphere shape for 3D collisions.

Member Variables

float radius - The sphere’s radius. The shape’s diameter is double the radius.

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.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_sphereshape.html