assigning a FVector to another Fvector broken?
Been writing some code to store some info into FVectors.
but this isnt working it keeps tossing an error on left operator "="
on the other hand
does work so im a little confused why the latter does not work. seems kinda dumb to have to keep breaking part any FVector to set them into another FVector.
anyone see any reason for this to not be working as it should thanks in advance
asked Jan 13 '18 at 06:56 PM in C++ Programming
I looked into FVector struct and it appears that it does have an operator for =, however its only available if IMPLEMENT_ASSIGNMENT_OPERATOR_MANUALLY is defined.
I noticed that this is defined in the UnrealMathUtility and it's commented out
I am not sure why this is. Maybe someone in the community can comment on this.
Either way, you can edit UnrealMathUtility and un-comment that line (Not sure what side affects this may cause), do the workaround you mentioned above, or implement a Vector adapter that extends Vector class and add this feature.
Follow this question
Once you sign in you will be able to subscribe for any updates here