I created a system to inspect items, now I want to create a password system for a padlock, however, whenever I try to rotate something in the blueprint, a bug happens, and that item becomes detached from the rest
These were the commands I used to rotate the component:
The axis is correct, in fact the rotation is working perfectly, it starts in the right position, but when I press the A key it tilts on the wrong axis, however, it continues working normally
I had tested RelativeRotation, however, when I press the A key it rotates more than 36 degrees, even without using the add, without adding it to any value, it seems that it uses the current rotation of the mesh component to rotate
I believe I found the solution, instead of using Get World Rotation I used Get Relative Transform to save the position of the Mesh Component… and I added a reverse command, input A rotates + 36, and input D rotates - 36