Isnt it just
example = FVector(0.0f, 0.0f, 0.0f);
or if you want to set individual properties
example.X = 0.0f;
example.Y = 0.0f;
example.Z = 0.0f;
Isnt it just
example = FVector(0.0f, 0.0f, 0.0f);
or if you want to set individual properties
example.X = 0.0f;
example.Y = 0.0f;
example.Z = 0.0f;
Hello!
I’ve got a real quick question I have had surprisingly hard time finding answers for:
How to set a vector? The line is somewhat about:
.h :
UPROPERTY(examples, examples and examples)
FVector exmpl;
.cpp:
exmpl = [MYSTERY].
That mystery is what I’m trieing to find out. If i want my vector to be 0, 0, 0, how do I set it so?
it,s not (0,0,0), as that’s seen as an int, so what could it be?
Thanks, -DoctorPC
thanks, now it makes sense, I just wouldn’t have guessed you need “FVector” before the numbers :3
-Resolved