Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the space() function
#2
I never fully understood parameters of this function. If you use all default values it'll find some free space, enough to leave a portable object there.
You can try with this function I've made a long time ago. https://github.com/krzys-h/colobot-super...#L241-L256
It's not perfect, you can clearly see the circle shape it uses to find positions.


Messages In This Thread
the space() function - by Rowery na Księżycu - 01-05-2015, 05:56 PM
RE: the space() function - by krzys_h - 01-05-2015, 06:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)