How to access and change FlipBook in c++ ?
Hello, i'm new to unreal engine, i need a way to access the character sprite in c++, and then change it.
asked Jul 12 '18 at 06:54 PM in C++ Programming
From your character class, you can access the flipbook through GetSprite(), which returns a UPaperFlipbookComponent*. From there you can use SetFlipbook() to pass in a new one.
I haven't had to load assets through C++ much, but this page looks it shows how to get a reference to your new flipbook: https://docs.unrealengine.com/en-us/Programming/Assets/ReferencingAssets
answered Jul 12 '18 at 07:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here