Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice
  2. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

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