Component:SpherePointGenerator

From Resonite Wiki
Revision as of 17:07, 15 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Sphere Point Generator component as seen in the Scene Inspector

A generator for points arranged in a sphere with a given radius. Used in Common Spawn Areas usually.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Radius Float How big the sphere should be for generating points in
Shell Bool Whether or not to generate points on the outside edge rather than inside the sphere too.

Usage

Used in a Common Spawn Area to define in what kind of spawn area shape users should initially spawn into.

Examples

Can be used to spawn users inside of a zero gravity arena, or on the surface of a round planet, or on the inside of a dyson sphere at a random point.

Related Components