How do I animate components within my character BP?

I want to animate a light source component within my character BP to give it a little shakiness like the example below

How do I make this animation within the character BP? please note that it MUST be within the character BP for the purpose of what I’m doing.

this is my character BP with the light I need to animate

I’m sorry if this is a very obvious question.
Thank you for any replies

Could make a new event called “shake” or whatever, and add a Timeline with a float track which is set to loping. Plug the update pin from that into an AddLocalRotation node with light as target, and plug the output of timeline into some math to define the rotation.

Call that function on begin play (or when light is turned on) and it should run forever.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.