OK, the title might be a little strange, but please bare with me. I’m trying to make an actor (The class I used as a base for my blueprint) to rotate constantly.
One way I know how to do that from a pure programming standpoint is to get the actor’s rotation axis in a variable, then += a value. so say you wanted your actor to spin at a constant rate, you’d do this in c++:
float x = actor->getRotationX(); x += 0.5f;
this code will rotate the actor 0.5 radiant in the X axis. I want to do that in a blueprint, but there’s no += operator. Can that be done in blueprints or would I need to use C++? if I need to use C++, how would I convert the current project I have to a C++ one without restarting? The project I’m asking about right now is blueprints only as far as I know. If you could answer this for me, I’d greatly appreciate it.