Hi everyone, i just started using Unreal Engine, and i’m stuck on something very stupid, though nowhere and no one was able to help me…
So, i just created an Actor, and i’m moving him forward with a certain speed.
This speed is just a simple float variable, nothing more, and all works fine.
But if, instead of:
The actor stops moving…the same effect as if i set the variable to 0, or not set it at all.
I tried EVERYTHING, i tried to give it a value both in the declaration and in the contructor, i tried to make it an int, i tried playing around with the UPROPERTY macro options, nothing, and i’ve seen UE tutorials and pieces of code online, which are identical to mine…
I will not post the code of my cpp file, just because it’s really basic and i copied it from a UE tutorial, and it is working (if i use a normal variable), so it is not the problem