Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: redfox on September 11, 2008, 05:55:19 PM
-
Hello, I'm trying the RunTo WalkTo methods to make the actor move at different speeds. How can I change the actors angular velocity's rather than just the Velocity? By default, my actor turns too slowly for use during a run animation.
Here is an example of what I would like to do, but adding this.Angular_Velocity = 120; didn't seem to work.
method RunTo(x, y)
{
this.WalkAnimName = "Run";
this.Velocity = 60;
/this.Angular_Velocity = 120;
this.GoTo(x, y);
}
-
It's AngularVelocity, without the underscore ;)
-
Fantastic, I shall give this a try.
Thank You.