Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CurrentRotation.Pitch = 90;
- CurrentLocation.X = Floor.Location.X + 51;
- SetActorLocation(CurrentLocation);
- FQuat Quat1(CurrentRotation);
- FQuat QuatZ(FVector(0, 0, 1), CurrentYaw*DeltaTime);
- FQuat rot = Quat1*QuatZ;
- NewRotation = rot.Rotator();
- SetActorRotation(NewRotation);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement