x

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"

How to set max and min yaw for camera/player rotation

Hey, I'm looking for way to compare player contol rotation with my custom rotator value. I'm trying to set max and min yaw camera value in my game (static turret)

Product Version: Not Selected
Tags:
more ▼

asked Apr 08 '15 at 07:08 PM in Blueprint Scripting

avatar image

A_Sobieraj
76 14 19 18

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

There are a few ways to limit Camera or Player rotation.

In Blueprints , you can make use of the Camera Manager:

alt text

Another way would be to create a custom "Camera Manager" Class : Easy way(Open the Player Controller , and create one under Defaults)

alt text

And under the Defaults of the new created Camera Manager Class , you have access to the rotation limits.

alt text

Ockert.

screen_1.jpg (150.7 kB)
screen_2.jpg (31.6 kB)
screen_3.jpg (64.9 kB)
more ▼

answered Apr 08 '15 at 08:34 PM

avatar image

Ockertvs
158 6 10 23

avatar image AJ_Graphix Nov 14 '16 at 11:46 PM

Thanks so much, Ockertvs! Your solution worked perfectly. I really appreciate you taking the time to answer the poster's question as it has helped others, too! :-)

(comments are locked)
10|2000 characters needed characters left

Hello

I d like to set my yaw depending of the character forward vector and not world rotation.

It s a FPS and i m doing a climbing feature so i want to lock my yaw but the camera manager set it depending to the world.

I can t find anything about it on google...

Thanks

more ▼

answered Jan 21 '18 at 06:07 PM

avatar image

CharlyB.Goode
202 2 9 15

avatar image Inofarr Jun 11 '18 at 10:33 PM

hey, I'm totally new to EU and I'm doing an FPS with a climbing feature too ! so I did this with a lot of research, and it works pretty well.alt text

ps : the link to the left comes from envent tick

I hope I was helpful :D

captureue.png (137.9 kB)
(comments are locked)
10|2000 characters needed characters left
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