Search in

Sort by:

Everything Using UE4

Current Space

Question Status:

All Questions With Answer With Accepted Answer

Quick results

Search help

Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both.
Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.

You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with
each other. Examples

Got it, thanks a lot, but now the camera can’t move anymore, seems your method is focus on pawn rotation right? Actually I want to limit the camera view, So Is it possible to limit the “camera rotation(not world rotation)” in a similar way?

You can rotate limited with this almost on everything. Actor, Pawn, Component etc.

If you want to rotate camera only, you can use same idea on Camera components as well. Or you can use SpringArm as parent of Camera and Add/Set RelativeRotation to SpringArm for 3rd person camera movement. You can search for that on Google. Very easy to implement.

Hi, it’s me again. After research, I had made those graph, but the view just can’t move anymore, and values from “print string” are correct. am I missing something? And I had “aim off” graph, will the problem in there?

I think you should delete EventTick's execution pin from AddRelativeRotation's for a start. If problem continues, you should create a new fresh character class and check if same Add/Set RelativeRotation is working well.

Note: Check if you get same results in PlayInEditor and StandaloneGame.

Man I really don't understand you. Isn't my "Working proof" video what you really want? I show you every way we can achieve on UE4. Please don't tell me you didn't notice I sent you a video on my comment before yours. :)

As much as I understand, you want to turn your character's body within a range of -135,135 and also, camera behind you fixed to character and turns -135,135 as well. Am I not right?

Did you tried to use custom PlayerCameraManager class? It contains such setttings for camera rotation limitations. But I'm not sure this is what you are looking for. Anyway, create PlayerCameraManager, specify rotation limits, and set this class to your PlayerController.

Hi, I had check your method, it still only limit yaw in world rotation, but still thanks, and I had seen someone in answerhub said if take rotation graph into “custom player controller”, it can be limit yaw in pawn. Did you know something abou that?