Struct SphereShape
Sphere shape for 3D collisions.
struct SphereShape
;
Sphere shape for 3D collisions, which can be set into a PhysicsBody or Area. This shape is useful for modeling sphere-like 3D objects.
Properties
| Name | Type | Description |
|---|---|---|
radius[get, set]
|
double | The sphere's radius. The shape's diameter is double the radius. |
Methods
| Name | Description |
|---|---|
getRadius
|
|
setRadius
|