Polyzone Settings
Discover all the settings incorporated dynamically into every store.
Last updated
Was this helpful?
Discover all the settings incorporated dynamically into every store.
Last updated
Was this helpful?
To use this section effectively, follow these steps:
Identify the key areas in your store that you want to define, such as the main store area, storage room, and cashier area.
For each area, provide a unique name within the polyzoneBoxData
section, like store
, storage
, and cashier
in the example above.
Under each area, you'll find a locations
section. This is where you specify the four corners of the rectangular box that represents the area. Each corner is defined using a vec2
coordinate, which consists of an X and Y value.
To add more than four locations, simply include additional vec2
coordinates within the locations
section, like this:
Adjust the minZ
and maxZ
values to set the minimum and maximum heights for each area. This defines the vertical range of the box.
If you want to see a visual representation of the boxes in-game for debugging purposes, set debugGrid
to true
. This will display a grid outlining the defined areas.
Remember to provide accurate and precise coordinates to ensure that the boxes align correctly with your store's layout. You can use in-game tools or coordinate capturing scripts to obtain the necessary vec2
values for each corner of the areas you want to define.
By configuring the polyzoneBoxData
section correctly, you can establish specific zones within your store, enabling features like triggering events, defining interaction areas, or setting up custom gameplay mechanics based on the player's location within these defined boxes.