How To Rotate Actor and its components (Paper2D)
I have an ArrowBP and a ArrowSpawnerBP, when I add the ArrowSpawnerBP to the level and rotate it along the Z-Axis, the ArrowBP Sprite is always facing the wrong way.
What I am Doing
I originally tried to spwan the ArrowBP and provide its WorldTransform but it does not work. I had to specifically AddWorldRotation to the ArrowBP Sprite component.
When I had to rebuild all the components in the BP. This means I had to delete them all and start with the order of inheritance I wanted to them to have. I think switching the Root Component and the others around messed something up and wouldn't properly orientate.
Now I can just use the WorldTransform of the SpawnPoint and everything works regardless of the direction I rotate my ArrowSpawnerBP.
If someone could provide some insight into what may have happened to avoid this in the future, it would be greatly appreciated!
answered Jul 04 '18 at 02:02 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here