Question RE: Follow the Path Demo
![battleduck](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi all, and in particular @tshirtbooth,
I've been playing around with the new templates/demos using writable tables etc, and having a lot of fun, but i have one question.
In the recent "How to draw a path, and have an actor follow it" demo, i understand that the actor isn't "moving" as such, but instead interpolating the X&Y every 'n' seconds to the next location in the table. I also understand that the speed at which the actor interpolates to each of the new positions in controlled by the timers, that update these positions, and the interpolate length.
Because of this set up the actor has no 'velocity' to control, and so i wanted to know if there is a way to have the actor move at a constant speed or apply a max speed, rather than the current system where by the faster you draw the line, the faster the actor follows it once the mouse button is up???
I think it will require altering the way in which the table is populated with new X&Y co-ords etc, or somehow making the speed at which the timers fire related to the distance between positions in the rows in the table, probably using magnitude, but can't figure it out.
Kind regards
BD
I've been playing around with the new templates/demos using writable tables etc, and having a lot of fun, but i have one question.
In the recent "How to draw a path, and have an actor follow it" demo, i understand that the actor isn't "moving" as such, but instead interpolating the X&Y every 'n' seconds to the next location in the table. I also understand that the speed at which the actor interpolates to each of the new positions in controlled by the timers, that update these positions, and the interpolate length.
Because of this set up the actor has no 'velocity' to control, and so i wanted to know if there is a way to have the actor move at a constant speed or apply a max speed, rather than the current system where by the faster you draw the line, the faster the actor follows it once the mouse button is up???
I think it will require altering the way in which the table is populated with new X&Y co-ords etc, or somehow making the speed at which the timers fire related to the distance between positions in the rows in the table, probably using magnitude, but can't figure it out.
Kind regards
BD
Answers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx