Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Aiming a spear attack animation

Discussion in 'Animation' started by Tiridatius, Nov 20, 2023.

  1. Tiridatius

    Tiridatius

    Joined:
    Aug 11, 2023
    Posts:
    6
    I have a third person game with melee weapons and animations. Specifically I'm using a spear with a spear attack animation. However when I play the animation it does the spear attack at some arbitrary location that the animation dictates. I have a little sphere slightly in front of my character that I'd like the stabbing animation to play towards. I tried using some IK by directing the hand towards the sphere but the animation looked crazy. Can someone please point me in the right direction?

    Thank you.