Difference between revisions of "R3d.SphereShape"

From GiderosMobile
Line 5: Line 5:
  
 
=== Description ===
 
=== Description ===
The SphereShape class describes a sphere collision shape centered at the origin of the shape local space.
+
The SphereShape class describes a sphere collision shape centered at the origin of the collider.
 +
 
 +
You only need to specify the radius of the sphere to create it.
  
 
{|-
 
{|-

Revision as of 04:26, 19 December 2025

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2019.10

Description

The SphereShape class describes a sphere collision shape centered at the origin of the collider.

You only need to specify the radius of the sphere to create it.

Methods

r3d.SphereShape.new creates a new collision sphere shape