Problems with SetRelativeRotation
Sorry for my bad English ;D Hope someone could help... I guess im doing something very simple very wrong again.
I rotate my Camera aroud my Character wich works fine if the Pitch I set for "SetRelativeRotation" is unequal 270 e.g.
But when I set the pitch to 270 to watch exactly from top the camera beginns to spin like crazy wich is caused by wrong values in Roll and Pitch (snapping from -180° to 180° and back again(the springarm component)). Is this a bug or am i just too stupid ? btw i deleted my asset an created it again from c++ class wich can cause somethin similar i read but its not fixed for me, by just readding the asset ; ( .
All i do for Camera Rotation is
Why i try this is to debug my character rotation(i disabled the rotation stuff at this moment to find whats causing this SetRelativeRotation problem), wich gets off when pitching and yawing the camera (i rotate my character to mouse position) ...
This fixes the pitch Rotation (otherwise the mouse position and character look at rotation drift apart). But when i try to fix the yaw rotation by rotating the Vector like I did with the pitch, it doesnt work.
asked Aug 16 '16 at 11:28 AM in C++ Programming
Post is too old!
answered Dec 07 '18 at 10:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here