After upgrading from 4.11.2 to 4.14, there has been a change to how the Move Component To function works in Blueprints specifically related to rotation. In the earlier version, there was no option to “Force Shortest Rotation Path”. You could set a yaw value of 360 and expect the component to rotate a full 360 degrees (or 720 for two full rotations, or a negative value for the other direction, and so on) over a chosen length of time. In the latest version, if you set the yaw value to 360, even while the “Force Shortest Rotation Path” is unchecked, the component will not rotate at all.
A workaround to utilize two Move To Components might work if you are simply try to rotate a component: to rotate half way around once then again to come to a full rotation. When trying to rotate and also have a component reach a target relative location the problem becomes more difficult. Timelines could be potentially be utilized instead though in my testing they haven’t been nearly as performant as Move To Component for mobile (Gear VR).
I’ve mentioned this elsewhere on the forums: if the default function of Move Component To is to take the shortest rotation path no matter what, then the attribute “Force Shortest Rotation Path” has no value. This could be working as designed but I think we’ve lost functionality in favor of another instead of overall gaining here.
To reproduce this issue from a clean project:
- Add an actor to the map
- In blueprints, attach the actor’s mesh component to Move Component To function
- Get Relative Location and attach it to the Target Relative Location node (to keep the actor in place)
- Enter 360 into the Z value of Target Relative Rotation
- Leave “Force Shortest Rotation Path” unchecked
Expected results: full 360 rotation of the component Over Time (default .2 seconds)
Actual results: The component does not rotate
I’ve just upgraded to the latest hotfix 4.14.1 and the issue persists.