Rotating to face a vector or to a certain euler angle with physics (AddTorque)
What I'm trying to do is make an actor face a direction with physics. I have managed to make it do so, in a rather glitchy way. What I'd prefer to do is to be able to set an actors rotation, with physics. Using AddTorque or anything that works really.
Now the code above does work, BUT it doesn't allow me to control rotation around the X axis. How could I make an actor or a primitive component or something rotate to a certain euler angle with physics? like (-180, 0, 90).
Sorry for a probably poorly written question and thanks in advance.
asked Mar 02 '16 at 08:22 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here