How to get infinite yaw rotation in third person template

I just created a new third person template, and I am really confused as to how to get a full infinite constant 360 rotation for the camera.

IE: As of now, rotation on the camera works but its stops rotating at like 350 degrees and you have to return the other way. If you start walking and you are already at the maxed out rotation you cant even turn anymore.

Very ackward, I am surely missing something here …

Note: I havent changed any code or any settings, pure brand new third person template.

Share the bp for the mouse input.

1 Like

So, the third person template uses the mouse, and as you keep moving the mouse, it will just keep rotating forever. This behavior comes from the “inherit control rotation” checkbox on the player character.

When you say it doesn’t rotate forever, is it still with the mouse? Have you changed how orientation is forwarded to the character in any way? If you create a brand new third person template, does it still happen?

(Also I’m assuming you mean horizontal rotation. Vertical rotation is not infinite, because that would flip you upside down.)

I forgot to mention that i created a third person c++ template in 5.3.2, there is no bp to share.

From some other googling ive been doing all day it seems that addControllerYawInput() has a cap at 359.588 ish in a playerController somewhere (which isnt easy to find)

BP Version does the same.

Steps to reproduce :

Create new 5.3.2 third person template
Press Play and shift mouse to left , mine block at like 350ish degrees.

Is there a way to make it go full spin around indefinitly.

Thanks.

You must have some special software installed, or some particular hardware that causes that behavior. (Do you have a gamepad plugged in?)
I just tried a brand new third person project in 5.3.2, click start, click in window, move mouse left. I can spin forever.

Maybe you have set it to not capture the mouse, and it leaves the window after you’ve moved to the edge?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.