Component:BoxPointGenerator

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

A generator for points arranged in a box with a given length, width, and height.

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 Float3 How big the box should be for generating points.
Shell Bool Whether points should only be spawned on the surface of the box 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 to spawn users on the outside of a cube world, with gravity on all 5 sides, at any place on the cube by making Size the size of the cube, and enabling Shell

Related Components