I’m struggling to put player pawn on my sandbox but it just doesn’t work as it used to.
When I press play, BP_Vehicle_2 is located where player start is but its mesh is on the left and in front.
I just can’t find anything that would make this shift.
BP_Vehicle_2 derives from c++ but both functions (tick and begin play) are empty.
There is only very short constructor:
PrimaryActorTick.bCanEverTick = true;
BoxComp = CreateDefaultSubobject(TEXT(“Box Collider”));
RootComponent = BoxComp;BaseMesh = CreateDefaultSubobject(TEXT(“Base Mesh”));
BaseMesh->SetupAttachment(BoxComp);
One more thing. Only BP_Vehicle_2 has InputComponent.