14.08.2013, 15:42
How can I generate random coordinates like this:
Minx = 10
MinY = 2
MaxX = 20
MaxY = 4
And actually Z too but you got the idea. You have like some 3D box.
Now how do I get random coordinates in that box so I can place a random object?
I'm sorry might be easy but I suck at mathematics.
Minx = 10
MinY = 2
MaxX = 20
MaxY = 4
And actually Z too but you got the idea. You have like some 3D box.
Now how do I get random coordinates in that box so I can place a random object?
I'm sorry might be easy but I suck at mathematics.