Flip Mesh/Rotate Actor, Facing any Axis?
Hello, so I have animations for a character that are facing forward and instead of going through the tedious task of rotating hundreds of animations I'd like to be able to rotate the actor/mesh 180 degree's so that its facing the opposite direction.
I'm doing a simple rotation of the mesh on a flip flop on the Z axis to turn it around 180 and back, but I need it to be able to flip 180 regardless of the direction the character is pointing at
the problem here is that when I rotate the mesh it works fine facing the Y axis but when its facing the X it rotates to the right for example
also the problem of rotating the actor is that I also need to have orient rotation to movement on.
any help would be appreciated thank you!
asked Nov 22 '18 at 12:39 AM in Blueprint Scripting
Try using Mesh->GetForwardVector, multiply the vector by -1, and send it into mesh rotation, it should autocast from vector into rotator
answered Nov 22 '18 at 05:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here