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.
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.
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.