add info |
related |
||
Line 23: | Line 23: | ||
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 <code>Size</code> the size of the cube, and enabling <code>Shell</code> | 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 <code>Size</code> the size of the cube, and enabling <code>Shell</code> | ||
== Related Components == | == Related Components == | ||
* [[Component:CommonSpawnArea]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Box Point Generator]] | [[Category:Components{{#translation:}}|Box Point Generator]] | ||
[[Category:Components:Transform:Point Generators{{#translation:}}|Box Point Generator]] | [[Category:Components:Transform:Point Generators{{#translation:}}|Box Point Generator]] |
Latest revision as of 17:01, 15 October 2024
Component image
A generator for points arranged in a box with a given length, width, and height.
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