UFloatProperty* FloatProp = FindField(Object->GetClass(), PropertyName);
if(FloatProp != NULL)
{
float* FloatPtr = FloatProp->GetPropertyValue_InContainer(Object);
if(FloatPtr != NULL)
{
float MyFloat = *FloatPtr;
}
}
I got this working!
I am using
SetPropertyValue_InContainer
to update my foot placement system
Is there an equivalent for UFloatProperty for vectors?
I tried UVectorProperty to no avail
and where is the .h file for UFloatProperty?
I bet I can find lots of answers there if I know where to look in the header files
Thanks!