How to do local rotation?
I recently started Unreal Engine, and from the start i seem to be having HUGE problems with local rotation. For 1 i don't know how to locally rotate the root component (rotate it for a certain number of degrees in it's local coordinate system). 2 how do i get forward/up/right vectors of the rotation relative to the root component (say Root component has R,P,Y rotation i want to get the forward vector of the actor that which has "Add Actor Local rotation" for say 30 degrees).
P.S. i have been doing everything in the blueprints.
asked Oct 24 '14 at 06:53 PM in Blueprint Scripting
For anyone just wanting to add local rotation to a world rot value, you can go;
World Rotation Value -> Invert Rot -> Combine Rotator (Adding local rot offset) -> Invert Rot Again = Adjusted World Rot Value.
Very useful for calculating the adjusted world rot value of a spawned actor before actually spawning it, so you don't need to add Actor offset later.
answered Mar 24 '16 at 03:45 PM
Root is the root of the local coordination system, meaning that everything is rotated/placed in relation to it. In the bluerints it doesn't say root but actor. So any transformation applied to the actor is applied to the root then passed on to the other components.
answered Oct 25 '14 at 01:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here