You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Represents a sphere shape, with a specific radius.
Methods
Method(s)
Description
SphereShape create(float radius, int subdivisions)static
Returns true if an effect is set for the entity
Examples
Creation
# Create a sphere with a radius on 1 meter, with a 4 subdivision level.s=SphereShape.create(1, 4)
# Make the sphere half-transparent and move its.getMaterial().setAlpha(0.5)
s.setPosition(Vector3(0, 1.5, 0))