Search in
Sort by:

Question Status:

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
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

The roll input of the camera disturb the yaw input

Hello evryone. I have a problem with the camera of a 1st person game. Here is the blueprint of the view of character (the camera then) :

alt text

When i try to move the camera from left to right or vice versa everything is ok. But when i activate the roll input... the movments of the camera are changed and become up and down ! I don't know why. Here is a little video of 30 seconds to explain what is the problem: https://youtu.be/cU-z6Sw1lNk

Product Version: UE 4.21
more ▼

asked Jan 12 '19 at 02:23 AM in Blueprint Scripting

avatar image

5 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Didn't seem strange at all. That's how it is supposed to work. When you "roll" you are rotating the camera along the "X" axis. Then when you yaw or pitch after a roll it is in relation to the new plane created by the initial roll. So if you imagine tilting you head left or right, that is "roll". Yaw would be rotating your neck left and right. The yaw is always in relation to the spine. So when your head is straight, yaw moves your head parallel to the ground left and right. But when you "roll" (tilt the head to one shoulder or another) the spine now is sitting in a different plane still parallel to the ground but now when you rotate your neck you will actually be looking up at the ceiling or down at the floor. Instead of the original position you would look to one wall or another.

more ▼

answered Jan 12 '19 at 02:31 AM

avatar image

Nebula Games Inc
5.4k 28 9 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question