Flashlight animation?

Hello everybody, i have a flashlight with a movement with a spin arm.
But i want to create like a standing animation. The flashlight moves like a bit down and left or wherever just a simple animation for like it looks like a hand is picking it up. How to animate that in-engine or how to apply the animation?

And other question for not post 2 questions, where i can learn to make my own blueprints, i’m tired of watching tutorials for specifics things, i’ll like to create my own. Thanks i hope somebody can awnser me both questions :stuck_out_tongue:

You could do it using a real animation but I think it would be killing a fly with an A-Bomb. So what I propose is to move the spring arm in BluePrint (or code).

In your tick function get the current time (you have Time or RealTime, the first one will be affected by deviations and pause while the second wont). Now you could use the ‘Ease’ function to interpolate between two vectors for your horizontal or vertical movement, the ease node comes with a set or pre-defined curves that will help you getting the movement you need.

If you need more curves you could also just use a simple lerp and build a curve your self. Or even use a Timeline to define a curve by hand.

As you see there are plenty of way in doing this without the need to do a real animation, just a bit of math and you will get a very nice flashlight bobbing movement.