Game Development Community


#1
11/22/2004 (5:52 pm)
Well, teams I'll leave for someone else to say, but random positions is easy enough. Just call three random floats and put them together for a new position. Sort of like:

%newPosition = getRandom() SPC getRandom() SPC getRandom();

I believe that would work, giving you a "x y z" to pass to your %newPosition variable. Hope that helps...