horribile
(horribile)
April 10, 2025, 8:55am
1
I have rotation setting for an an actor:
Axes always match world axes:
Setting a rotation along one of axes is ok:
But when I set second rotation the actor is rotated along wrong axis:
As you can see rotation set along X axis but the actor rotated along Y axis.
Here is my Blueprint:
I think this is correct, if you start at 0,0,0 and rotate around x and then z you will get the outcome above. This is because you set the rotation(45/0/270)
At least for the camera there is an “add to relative rotation” node, which will behave more the way you want it. Is there an “add to rotatikn” node for your actor? This would take the old rotation and modify it
horribile
(horribile)
April 10, 2025, 12:40pm
3
Thanks for your reply.
Unfortunately “add relative rotation” behavior is the same.
Any way to rotate around world axes?
Mh I’m not at home at the moment and this post is from 2015, you could check if the node is still available:
Hello guys.
I’ve made a similar project using Blueprints, now I’m moving to a C++ project, since I am an experienced programmer in C++. The problem is… that I’m not experienced with Unreal Engine classes lol
I would create an Actor that would rotate around his Z axis every second.
With blueprints, I did so:
[68452-opopo.png]
How to do this with a C++ Class?
I did this:
[68453-opopo.png]
But it doesn’t work when the game starts.
Thanks in advance!
1 Like
Nice. Yet it is a little bit confusing. Assuming your scene is the root local and world rotation should be the same i thought
system
(system)
Closed
May 11, 2025, 10:02am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.