I'm trying to set a Vector3 within the c# code as follows:
// Take the random X, Y and Z value and assign to FsmVector3 and save to named variable
if (!storeResultAsVec3.IsNone)
{
// NEITHER WORKS
storeResultAsVec3.Value.Set(10f,12f,14f);
storeResultAsVec3.Value.Set(x, y, z);
}
I can see the values of x,y and z have been randomised by my previous function but when I try to set them they literally show 0. They never change. I've went through it step by step in Visual Studio and the function just isn't setting the values.
Any ideas please?