imported>Xekri Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=SpherePointGeneratorComponent.png |Name=Sphere Point Generator }} <!--T:2--> == Fields == {..." |
add info |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=SpherePointGeneratorComponent.png | |Image=SpherePointGeneratorComponent.png | ||
|Name=Sphere Point Generator | |Name=Sphere Point Generator | ||
}} | }} | ||
A generator for points arranged in a sphere with a given radius. Used in [[Component:CommonSpawnArea|Common Spawn Areas]] usually. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Radius|Float| | |Radius|Float|How big the sphere should be for generating points in | ||
|Shell|Bool| | |Shell|Bool| Whether or not to generate points on the outside edge rather than inside the sphere too. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Used in a [[Component:CommonSpawnArea|Common Spawn Area]] to define in what kind of spawn area shape users should initially spawn into. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == 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. | |||
<!--T:5--> | <!--T:5--> | ||
== Related Components == | == Related Components == | ||
* [[Component:CommonSpawnArea]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Sphere Point Generator]] | [[Category:Components{{#translation:}}|Sphere Point Generator]] | ||
[[Category:Components:Transform:Point Generators{{#translation:}}|Sphere Point Generator]] | [[Category:Components:Transform:Point Generators{{#translation:}}|Sphere Point Generator]] |
Latest revision as of 17:07, 15 October 2024
Component image
A generator for points arranged in a sphere with a given radius. Used in Common Spawn Areas usually.
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.