Download

How can I get velocity from animated object?

How can I get velocity from animated object?
I have animated object in Maya
[video]https://youtu.be/gd6q_cg7qUc[/video]
After importing this animation into UE4 I created socket for bone and attached object to this socket.
I can get position and rotation of animated object but I do not know how I can get velocity this object.

I don’t think you can get the velocity of an animated object.

However you can calculate it yourself by storing the position into a variable each tick.

(lastPosition - Position) * DeltaTime = velocity