Search Unity

Velocity of a GameObject inside an animation

Discussion in 'Animation' started by Apolok99, Aug 10, 2021.

  1. Apolok99

    Apolok99

    Joined:
    Oct 14, 2019
    Posts:
    4
    Hi.
    In my project I have a 3D humanoid character that has an attack animation. This animation moves the arm of the character where he's holding a sword. This sword is also inside the rigg of the character, so the movement of the sword is made by the animation. However, I want to know the velocity vector of the sword. How can I calculate it?

    Thanks a lot.
     
unityunity