Getting errors:
Error C3867 ‘FVector::Normalize’: non-standard syntax; use ‘&’ to create a pointer to member 19
Error C2679 binary ‘=’: no operator found which takes a right-hand operand of type ‘overloaded-function’ (or there is no acceptable conversion) 19
planetNormals[i] = v.Normalize;
in this function:
void UPlanetBuilder::SetVertex(int i, int x, int y, int z) {
FVector v = FVector(x, y, z) * 2.0 / gridSize - FVector(1);
planetNormals[i] = v.Normalize;
planetVertices[i] = planetNormals[i] * Radius;
}
Which I think is causing a bunch of other errors: