GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 11,734Member, Sous Chef, PRO, Senior Sous-Chef
    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 Posts: 229Member

    Or try the Move To...

Sign In or Register to comment.