Three very simple scripts for the creation of 3D arrays to use in your projects.

These scripts work by converting X, Y, and Z coordinates into a 1 dimensional array using a simple formula. Using the same formula, specific values can be retrieved and set within the array. Note: as these are using built-in arrays instead of data structures, you will need to know the max length of the X, Y, and Z coordinates in order to use these scripts.

The scripts are: array3D_create( initial value, x max, y max, z max) array3D_get( array name, x, y, z, x max, y max, z max) array3D_set( array name, value, x, y, z, x max, y max, z max)

I found this to be a very simple, yet very powerful set of scripts that I constantly use within my own projects. Enjoy!

End User Licence Agreement (EULA).

Version 1.0.0. Published February 21, 2019

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

Package contents

Loading, please wait

What is the issue?

Back to Top