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 How would i do this?

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

  1. VentariWylde

    VentariWylde

    Joined:
    Jun 16, 2021
    Posts:
    12
    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.