Hello everybody,
I use the keyframe functionality of the animator to move a 2D collider according to the animation frames (to detect if the pickaxe hits the stone ). I placed the collider manualy at the keyframes:
And the movement (lerp) of the collider between those frames does unity by itself. See animation:
But I noticed that the collider moves faster as the associated frame (see second .gif).
It isn’t actually a problem but I’am curious if it is possible to change this somehow so that the collider is at the wanted position the same time the frame is shown (like in the first .gif)? Or is there a parameter to change the “velocity” of the collider?
I’am thankful for every answer or hint :).
Best regards,
Bredjo