About Store Forum Documentation Contact
Donations:
243$/mo



Post Reply 
actionMoveTo ?
Author Message
Grabonito Offline
Member

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

Post: #2
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
Find all posts by this user Quote this message in a reply
Grabonito Offline
Member

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

Post: #4
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
Find all posts by this user Quote this message in a reply
Grabonito Offline
Member

Post: #5
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 wink
02-18-2010 08:29 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: actionMoveTo ?
there is a tutorial for pathfinding (the Y - height) is always ignored in pathfinding
02-18-2010 10:36 PM
Find all posts by this user Quote this message in a reply
Post Reply