Grabonito
Member
|
actionMoveTo ?
Hi,
Why does the object not move ?
Code:
ctrl.flying(true);
Vec SP=(47,18.6,-16.9);
actionMoveTo(SP);
(This post was last modified: 02-18-2010 03:11 PM by Grabonito.)
|
|
02-18-2010 03:10 PM |
|
Esenthel
Administrator
|
RE: actionMoveTo ?
maybe the path was not found (target is blocked, or no path found)
did you set paths in WE?
or you break the action somewhere in the codes.
check for tutorials (and Bloody Massacre)
|
|
02-18-2010 04:14 PM |
|
Grabonito
Member
|
RE: actionMoveTo ?
I did not place Patha in WE.
This is the only lines of the code except the animation etc.
(This post was last modified: 02-18-2010 06:30 PM by Grabonito.)
|
|
02-18-2010 06:29 PM |
|
Esenthel
Administrator
|
RE: actionMoveTo ?
Quote:I did not place Patha in WE.
you should do it
Vec SP=(47,18.6,-16.9);
this is wrong, replace it with:
Vec SP(47,18.6,-16.9);
|
|
02-18-2010 06:37 PM |
|
Grabonito
Member
|
RE: actionMoveTo ?
The object has to fly by from the point A to the point B.
Still does not work.
Vec SP(47,18.6,-16.9);
ctrl.flying(true);
actionMoveTo(SP);
I'm sorry for my English, he is not the best
|
|
02-18-2010 08:29 PM |
|
Esenthel
Administrator
|
RE: actionMoveTo ?
there is a tutorial for pathfinding (the Y - height) is always ignored in pathfinding
|
|
02-18-2010 10:36 PM |
|