Move To bug

Hi guys,
I have set up a scene where there are four buttons in a row. When you touch the buttons they set a variable (e.g. x) to 1,2,3 and 4 correspondingly. I have also set another actor to move to a location with a speed of 1000 depending on which variable is set. For some reason, the actor just moves straight past the determined location and then bugs out of the game. I have to set the speed to <700 to avoid this however it just looks a bit ridiculous with the image moving so slowly!

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited March 2013

    Hello @cracky6711 OK, if you're using the Move To Behaviour....this has been known to have some issues. As a suggestion, use Interpolate in place of it. This means though that rather than determine the speed, you set the time it takes over your distance (time = distance/speed as I'm sure you know).

    Here's a quick demo; hope it's what you're after and you find it useful:

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • cracky6711cracky6711 Member Posts: 9
    oooh that sounds perfect i'll take a look now. thanks a lot
Sign In or Register to comment.