Set local rotation
Unfortunately it seems there is no "SetLocalRotation" node, and the only way to rotate an object on it's local axis is to use the "AddLocalRotation" node.
I want an object to match the Z value rotation of another object, but to rotate on it's local axis instead. Niether SetRelativeRotation or SetWorldRotation seem to work this way. Does anyone know of a way to set a local rotation instead of just adding to it?
asked Apr 23 '17 at 01:07 AM in Blueprint Scripting
local space rotations are for components that are attached to other components. if you want to rotate an actor around its up vector, you can use RotatorFromAxisAndAngle. and if you want to set the rotation, instead of adding to it, just skip the getActorRotation/CombineRotators part.
Follow this question
Once you sign in you will be able to subscribe for any updates here