Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Need help with properly connecting animations

Discussion in 'Scripting' started by HeavyMetalGhoul, Aug 6, 2020.

  1. HeavyMetalGhoul

    HeavyMetalGhoul

    Joined:
    Jul 31, 2020
    Posts:
    1
    So I'm currently working on an arcadey wrestling game inspired by games like WWF No Mercy and WWE All-Stars. I've got the basic movement down, but i'm having a hard time connecting the animations to the movement.

    Basically what i need to happen is the characters moving forward when they move towards their opponent, backwards when moving away and move side to side when moving around the opponent.

    I've already tried scripting animations to play on inputs, position, rotation and even based on distance, but none have worked well enough. I also can't really use the camera as a frame of reference due to it being in a mostly static position.

    Video for Reference: