9. FAQ

Integration with Highlight Plus
It's possible to use Highlight Plus to replace the default highlighter included in Voxel Play. To do so, follow these steps: 1.- Download and i...
Tue, 7 Jul, 2020 at 7:58 PM
How does VoxelPlay decide which chunks to load?
A chunk is loaded by Voxel Play when: - Any API tries to access its contents, for example: GetVoxelIndex(position). - When the chunk boundaries are wit...
Wed, 21 Oct, 2020 at 7:15 PM
How to get exclusive control of input?
Just call: VoxelPlayEnvironment.instance.input.enabled = false to stop any input from being recorded by Voxel Play input controllers. This useful to...
Mon, 28 Dec, 2020 at 7:46 PM
How to ensure a chunk is rendered regardless of distance to camera?
Voxel Play separates chunk generation from rendering so when you call: VoxelChunk chunk = env.GetChunk (position, forceCreation: true); It will gene...
Mon, 15 Mar, 2021 at 6:21 PM
How regular lights work in Voxel Play?
Voxel Play renders lights in different ways. Custom Point Light rendering In the standard pipeline or if the "Enable URP Native Lights" op...
Wed, 4 Aug, 2021 at 12:19 PM
How to obtain a reference to the gameobject placed by a custom voxel
Use the following code to get a reference to the instantiated gameobject: GameObject voxelGameObject = env.GetVoxelGameObject(position); An instanti...
Wed, 7 Apr, 2021 at 8:26 AM
How do I show the cursor?
Sometimes you want to show the cursor and pause the camera control in Voxel Play (so user can use some in-game menu or execute a drag&drop operation in ...
Tue, 28 Dec, 2021 at 7:23 PM
How to avoid my character spawned at a random position?
Select your character controller and expand the Voxel Play First Person Controller script. Disable the "Start On Flat" option: The St...
Fri, 18 Mar, 2022 at 1:06 PM