I have a character that has
CapsuleComponent as root and couples of
SkeletalMesh as my character mesh. Now there is case that I'm using mouse input to rotate`SkeletalMesh` on Pitch and Yaw while this happens
ActorRotation made to remain still, and after that process the
SkeletalMesh has a wrong forward facing. also the
skeletalMesh has -270 to 270 rotation while
ActorRotation has -180 to 180, so when
SkeletalMesh reached 180 it goes to 181 and so on while
ActorRotation on 180 reached it goes to -180 to -179 and so on. idk if this matters or not i just pointing it out.
MoveComponentTo() to move the whole actor, and in process the rotation is locked and i can't rotate the whole actor, here i switch to
SkeletalMesh rotation till the moving part is done, and that's where i end up with wrong forward facing for the
That would be a great help if some one could help me out, already spend a whole day on it.
Dec 09 '18 at 04:29 PM
in C++ Programming