How can I make an actor to a certain point?

I think i have been able to do it. I would like to see the actor drift to that point quickly and then it stays there instantly. Often, the actor just shoots off.
I'm really new, but thanks! :D

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited September 2014

    Try using the Interpolate behavior. If your destination position is X=600, Y=50, you would do this:

    Interpolate self.position.X to 600 Interpolate self.position.Y to 50

    Try changing the duration to get the desired speed.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • Speedy007Speedy007 Member Posts: 229

    Or try the Move To...

Sign In or Register to comment.