for some things it would be cool to have a 2 dimension array variable for objects (for example target systems or environment controll.)
at the moment I'm trying to write a script that hides some 3d imposter's if i am far away and shows instead billposts ( for better performance). I got a skinmesh for a area of imposter's and want to controll all imposter's simultaneous at this area.
while creating the imposter's i could create a array and assign each imposter to its position and later use this in a other script.
shure, i can just add all creation positions to the other script and make a loop that indicates what imposter is in each area but it would be better to make this at once at start.
is there propably a way to assign a pointer to the array like in c++?
here is a picture of what i mean:
at the moment I'm trying to write a script that hides some 3d imposter's if i am far away and shows instead billposts ( for better performance). I got a skinmesh for a area of imposter's and want to controll all imposter's simultaneous at this area.
while creating the imposter's i could create a array and assign each imposter to its position and later use this in a other script.
shure, i can just add all creation positions to the other script and make a loop that indicates what imposter is in each area but it would be better to make this at once at start.
is there propably a way to assign a pointer to the array like in c++?
here is a picture of what i mean: