My previous example was not very good...
This would be the standard DIM..
....ArrayName,Object,Limb,X/Y/Z,Scale,Energy
DIM Particle(Infinity,13,5)
So I get this, which doesn't look right...
` Type to hold everything
Type tVector3
Object as Integer
Limb as Integer
x as float
y as float
z as float
Scale as Integer
Energy as Integer
EndType
` Array to hold 10 Objects
Dim Object(10) as tVector3
` Populate 13 limbs with random positions for purpose of this explanation
For Object = 1 to 10
for Limb = 1 to 13
Object(Object,Limb).x = rnd(100)
Object(Object,Limb).y = rnd(100)
Object(Object,Limb).z = rnd(100)
Next Object
next Limb
` Example - get limb number 5 coordinates
x# = Object(1,5).x
y# = Object(1,5).y
z# = Object(1,5).z
` Now add 10 more objects without destroying existing data
Dim Object(20) as tVector3
For Object = 11 to 20
for Limb = 14 to 26
Object(Object,Limb).x = rnd(100)
Object(Object,Limb).y = rnd(100)
Object(Object,Limb).z = rnd(100)
Next Object
next Limb
... and where scale, and energy go I have no idea.