A generator for points arranged in a rectangle with a given length and width.
<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Size|Float2|
|Size|Float2| A flat rectangle size for generating points in
|Shell|Bool|
|Shell|Bool| Whether to spawn users on only the perimeter or not.
}}
}}
<!--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 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.
<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:CommonSpawnArea]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Square Point Generator]]
[[Category:Components{{#translation:}}|Square Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Square Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Square Point Generator]]
Latest revision as of 17:10, 15 October 2024
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.
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.