Thanks James.
I’m trying to add my static const members to my .h as follows:
static FVector VECTOR_FORWARD = FVector(1, 0, 0);
but this gives the compiler error “a member with an in-class initializer must be const”
When I try to do this
static const FVector VECTOR_FORWARD = FVector(1, 0, 0);
I get the compiler error “a member of type const FVector cannot have an in-class initializer”
I can however declare a const FVector like so:
const FVector VECTOR_FORWARD = FVector(1, 0, 0);
Why can’t I declare a static FVector here?
P.S.
On a side note, there is a function to get the transform of a component, but there is a typo in the name:
someComponent->GetComponenTransform();
Will this be fixed or will this just a forever legacy error?