Hi.
Im trying to set up my program for sphere hunting. One feature i would like to add to it is having my char wandering to some specified coordinate in zone.
So i would like some sugestions how to do that. Like how to make a char move to a set coordinate (for example im at x=1 z=1, how to make it walk/run toward x=2 z=2 then stop there?).
Thanks in advance
Ideas for moviment
-
- Posts: 25
- Joined: Mon Nov 06, 2017 6:12 am
Re: Ideas for moviment
You can use the auto-follow struct for running around. The info I posted here is up to date:
viewtopic.php?p=1984#p1984
You do not have to give the auto-follow system any target or data like that, instead you can force it to auto-follow a position delta from you. Keep in mind it won't automatically handle the terrain and avoid obstacles though. So you would need to make your own pathing setup to know where to run from its current position using it.
viewtopic.php?p=1984#p1984
You do not have to give the auto-follow system any target or data like that, instead you can force it to auto-follow a position delta from you. Keep in mind it won't automatically handle the terrain and avoid obstacles though. So you would need to make your own pathing setup to know where to run from its current position using it.
-
- Posts: 25
- Joined: Mon Nov 06, 2017 6:12 am
Re: Ideas for moviment
Thanks atom0s.
That struct is like a namespace?
Sorry to sound too newb but can you give some hints how to put that struct to work? Or a reference where can i learn to implement namespaces.
Thanks in advance
That struct is like a namespace?
Sorry to sound too newb but can you give some hints how to put that struct to work? Or a reference where can i learn to implement namespaces.
Thanks in advance