How to split a long TArray into multiple Fvector
I have a long TArray and I want to split into multiple FVector. Here is my Code :
I get these errors:
Any idea how to solve it?
Do you want something like:
The errors in your code are: 1) To access the contents of an array you should provide a single index, not a comma seperated list of indexes (i.e. Array, not Array[0,1] 2) You're trying to convert a float to an FVector (i.e. you're trying to do Fvector myVec = 2.0f). This isn't valid, it needs to be assigned as a vector value so use a constructor as shown above).
Also note that FVector expects 3 values, not 2 as in your code (FVector2D will expect 2 values)
answered Jan 23 '19 at 05:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here