Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advanced targeting
#2
direction() returns returns value which needs to be inserted to turn() in order to make bot face certain position. Ex:

turn(direction(item.position));

Will make bot turn towards item

But I think you might think about object's information, and not instruction. In that case I honestly can't help, since I never really used .direction, .yaw and .roll
"Deep within all of us lives an idiot, and if you let that idiot dictate your decisions your live is going to be rough."
~ Ryan Letourneau, 2k15


Messages In This Thread
Advanced targeting - by clop1000 - 07-02-2016, 02:01 PM
RE: Advanced targeting - by radioactivity - 07-02-2016, 02:48 PM
RE: Advanced targeting - by krzys_h - 07-02-2016, 07:44 PM
RE: Advanced targeting - by clop1000 - 07-04-2016, 04:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)