What is the simplest way to add an animation?

I have a StaticMeshComponenet in my FirstPlayer Class and in my code, many things shape around that StaticMeshComponent.

first, I want to know could I keep my UStaticMeshComponenet and add or play my animation with it or I must change it to USkeletalMeshComponent?

second, as you can see in the gif its really simple animation it’s just changing location and rotation, what is the simplest way to add it to my game?

I want to avoid state machine or that kind of thing I want to do it the simplest way possible, it just has 1 animation and I want when the player clicks the animation trigger.

282539-screencaptureproject17.gif

Hi , Thanks for the reply. I haven’t decided yet which way is better for my project.

I have some problem with using the LevelSequence: MyProblem

but thanks for the reply, at least I know now there is no way play animation without skeletal mesh.

can you move your answer from the comment section to answer section so I can choose it as the answer?

Thx Again .

You are welcome. For future reference please keep your question to one thread. It makes it easier to search for the answers you want when you use AnswerHub.

Hello AAriyAA,

It depends on the way your pawn class is setup (if said static mesh is part of your pawn), but if you wanted to animate a static mesh that is placed in a level you could follow the steps in the answer section of this question: How to animate a static mesh? - Character & Animation - Epic Developer Community Forums.

Otherwise you will need a skeletal mesh actor in order to animate something. If you do end up using a skeletal mesh component and want to avoid making an animation blueprint you could set the Animation Mode to “Use Animation Asset” and just call the animation when you want it played.

From,