i have a simple method of setting the rotation of a pawn.
I have the blueprint script inside the pawn itself, not the controller (The Player has the ability to possess different pawns/characters, therefore i want to have the “code” into the resprective Blueprint class.
The Change of the Rotation is no problem, everithing is working as intended. After i stop setting a new rotation (If the middle mouse button is pressed the event is fired with every “Mouse Y/X”) the rotation is reset.
Scene → Movable
SpringArm → inherit Ptich/YAW/Roll from pawn Is set (UsePawn Control Rotation is disabled)
Camera → Use Pawn Control Rotation is disabled
Player Controller → Attach to pawn is disabled