Component:SquarePointGenerator

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

A generator for points arranged in a rectangle with a given length and width.

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.
Size Float2 A flat rectangle size for generating points in
Shell Bool Whether to spawn users on only the perimeter or not.

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 in cases where a circle spawn area is too inaccurate to spawn users in. This can happen in cases like: Hallway spawns, elevator spawns, or any room that is square or rectangular.

Related Components