Hi all, I’m new to c++ and ue4 so forgive me if there is a very simple answer to this.
I’ve added a paper flipbook component and attached it to my box component root but when I go in the editor and drag in the blueprint, the flipbook component doesn’t follow the box collisions location and just stays at 0, 0, 0.
Here’s my code in my constructor:
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don’t need it.
PrimaryActorTick.bCanEverTick = true;
BoxCollision = CreateDefaultSubobject<UBoxComponent>(TEXT(“BoxCollisionComponent”));
FlipbookComponent = CreateDefaultSubobject<UPaperFlipbookComponent>(TEXT(“FlipbookComponent”));
CurrentVelocity.X = -90.0f;
Any help is much appreciated, thank you