Need help with Random
#1

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.
Reply


Messages In This Thread
Need help with Random - by arjanforgames - 14.08.2013, 15:42
Re: Need help with Random - by [XST]O_x - 14.08.2013, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)