Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question How would i do this?

Discussion in 'Animation' started by anonymouself543, Dec 2, 2022.

  1. anonymouself543

    anonymouself543

    Joined:
    Jun 16, 2021
    Posts:
    9
    so at the moment im trying to make some attack animations for my game and what i have right now is something similar to Archvale's system in the way that the sword rotates around my player character -

    this is what it looks like without animations -
    sword.PNG
    (as you can see the sword's rotation follows the mouse)
    and here it is with animations -
    sword2.PNG
    (now the swords rotation is locked)
    as you can see, without animations the sword's rotation and position follows my mouse but then when i try to add animations the sword still follows my mouse but the rotation is fixed (because of the animation im assuming) and i would like to have the swords rotation still follow the player as well as still playing the animation if thats possible.
    im still kinda new to the whole of unity so if this isnt possible is there any other sought of way that i could achieve something of the same likeness?

    thanks to everyone in advance.