Brainache
Member
|
actionMoveTo
Hello...
I would like to be able to have a CHR object move to a position while facing another position...
the actoineMoveTo gets confused if I change the direction the npc is facing...
Suggestions?
|
|
05-24-2009 10:36 PM |
|
Esenthel
Administrator
|
Re: actionMoveTo
how would it look like exactly? I'm not exactly sure what you want to achieve
|
|
05-24-2009 10:50 PM |
|
Brainache
Member
|
Re: actionMoveTo
To use an example from a previous engine ( Torque )...
setMoveTarget( move_position );
setAimTarget( aim_position );
then... then CHR would move to 'move_position' while facing 'aim_position'... using strafe/backpedal movement when needed.
This allows you to have an npc move around the pc and fire at the pc...
|
|
05-24-2009 11:09 PM |
|
Esenthel
Administrator
|
Re: actionMoveTo
ah, ok I get it
I'll add this functionality to the todo list
|
|
05-24-2009 11:58 PM |
|
Tupac
Member
|
Re: actionMoveTo
You rock Admin :o
user: Can i make real beer and really drink it using Esenthel engine ?
Admin: Wait next release !! already added on the TODO list :roll:
Admin: Game::AddBeer(int Size, bool Drinkable, Vec pos)
Admin: release soon !
|
|
06-07-2009 06:25 PM |
|