So I’ve set up a Blueprint Actor that uses a skeletal mesh prop - an escape pod to be exact.
I’ve set up an animation blueprint for the skeletal mesh and imported several animations such as door opening, closing etc.
What I’m trying to do is make it so that when the player “uses” a triggerable area on the blueprint (I added a collision component to the door) it will toggle between the door opening animation and the door closing animation.
What I’ve got so far is I opened the event graph of the player pawn and added a bool called IsPlayerUsing?
Then inside the event graph of my animation blueprint for the escape pod I’ve accessed the IsPlayerUsing? bool but I don’t know how to send it over to the state machine so I can access it there and cause the animation to change if the player is using. I also don’t know how to get the IsPlayerUsing to actually do anything as I’m really new to blueprints.
Any help in figuring this out would be greatly appreciated as all of the tutorials I can find for skeletal mesh actors refer to characters.