About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
actionMoveTo
Author Message
Brainache Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: actionMoveTo
how would it look like exactly? I'm not exactly sure what you want to achieve
05-24-2009 10:50 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
Re: actionMoveTo
ah, ok I get it smile
I'll add this functionality to the todo list
05-24-2009 11:58 PM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #5
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 !
lol
06-07-2009 06:25 PM
Find all posts by this user Quote this message in a reply
Post Reply