I have the following entry in my JSON object
{
"ObjectPath": "SomePath",
"Function":"MoveLip",
"Parameters":{
"LipPositions": [0.0, 0.207912, 0.406737, 0.587785, 0.743145, 0.866025, 0.951057, 0.994522, 0.994522, 0.951057, 0.866025, 0.743145, 0.587785, 0.406737, 0.207912, 5.66554e-16, -0.207912, -0.406737, -0.587785, -0.743145, -0.866025, -0.951057, -0.994522, -0.994522, -0.951057, -0.866025, -0.743145, -0.587785, -0.406737, -0.207912, -1.13311e-15, 0.207912, 0.406737, 0.587785, 0.743145, 0.866025, 0.951057, 0.994522, 0.994522, 0.951057, 0.866025, 0.743145, 0.587785, 0.406737, 0.207912, 3.67394e-16, -0.207912, -0.406737, -0.587785, -0.743145, -0.866025, -0.951057, -0.994522, -0.994522, -0.951057, -0.866025, -0.743145, -0.587785, -0.406737, -0.207912]
}
}
however when I get the values in my function, after printing them I get around double the values where zeros fill in like so
[0.000000, 0.000000, 0.000000, 0.207912, 0.000000, 0.406737, 0.000000, 0.587785, 0.000000, 0.743145, 0.000000, 0.866025, 0.000000, 0.951057, 0.000000, 0.994522, 0.000000, 0.994522, 0.000000, 0.951057, 0.000000, 0.866025, 0.000000, 0.743145, 0.000000, 0.587785, 0.000000, 0.406737, 0.000000, 0.207912, 0.000000, 0.000000, 0.000000, -0.207912, 0.000000, -0.406737, 0.000000, -0.587785, 0.000000, -0.743145, 0.000000, -0.866025, 0.000000, -0.951057, 0.000000, ...]
my function signature, looks like
UFUNCTION(BlueprintCallable, Category = "LipController")
bool MoveLip(TArray<float> LipPositions);
What is the correct way to send an array of float values via the RemoteControl API in UE5?