UNconstrain Attribute

skipniceskipnice Member, PRO Posts: 68

i have an integer called ENDGAME set to count the collisions of actors. my actor's self position x is constrained to the mouse. when endgame hits 3 i want to have my actor move off screen but because it is constrained to the mouse it wont budge. how do i cancel the constrain behaviour in order to move my actor with the "move" behaviour once its game over?

Comments

  • zweg25zweg25 Member Posts: 738
    edited May 2014

    make a rule in the actor that say when endgame < 3: constrain position to mouse, otherwise: move to wherever

  • skipniceskipnice Member, PRO Posts: 68

    ohhh so make the constrain to mouse only when its less than 3!!! nicee thanks home slice!

  • zweg25zweg25 Member Posts: 738

    lol yep

Sign In or Register to comment.