Enemy Changes Running From Left To Right

Discussion in 'How Can I...?' started by sebas, Mar 12, 2019.

  1. sebas

    sebas Boxer

    Joined:
    Nov 4, 2018
    Messages:
    70
    Likes Received:
    17
    Hi boxers, i want to ask: For example in an platformer game, How can i change the direction of the running animation from an ememy?Yes transform channel its absolutely sure, but when my enemy runs left, collides with the transformchannel to turn into the right direction, hes running right, but the running animation is still in the right direction.So what i can do to change the direction of the animation when collides with the transformchannel.
    Thanks a lot.
     
  2. Bilz636

    Bilz636 Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    313
    Likes Received:
    182
    try to use Path logic
     
  3. kelvin_ye

    kelvin_ye Boxer

    Joined:
    Oct 8, 2015
    Messages:
    49
    Likes Received:
    49
    You can set the Scale Modifier for the transform to -1. That way the enemy will be flipped once it touches the transform
     

Share This Page