touch problem

justinodunnjustinodunn Member, PRO Posts: 226

I have an actor with the behvior of to jump (move up) when it is touched. However when you touch and hold, the actor doesn't stop moving up until you release? is it possible to make the actor move up only when touched?

Comments

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    What are your rules? Are you constraining his movement when touched?

  • justinodunnjustinodunn Member, PRO Posts: 226
    edited April 2014

    @bjandthekatz said:
    What are your rules? Are you constraining his movement when touched?

    No, I used the "move" behavior when touched

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited April 2014

    You could do if touch is inside move up…or depending on what your after….If touch is pressed change motion linear Y to 200….you need an accelerate behavour to pull it back down.

    Darren.

  • justinodunnjustinodunn Member, PRO Posts: 226

    yes of course! thank you :)

Sign In or Register to comment.