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 can I make my camera not go past my shoulders?

If I turn my head in game I can see my head and my camera can go 360 degrees how can i make it that you can only look past your shoulders?

Product Version: Not Selected
Tags:
more ▼

asked Aug 25 '15 at 06:32 AM in Blueprint Scripting

avatar image

TREDX
1 3

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

3 answers: sort voted first

Clamp it's rotation values to the rotation you want. For example, set clamp a min of -40 and a max of 40 on the Yaw axis. Assuming the camera is attached to the character it will move with the character but when you attempt to rotate the camera separate of the character, it's rotation won't go below or above what you clamp.

Hope this helps! If it does please do me a favor and accept the answer by clicking the check mark located under the arrows next to the answer. You'll know you got it right when the answer highlights green! Thanks!

more ▼

answered Aug 25 '15 at 07:12 AM

avatar image

jtsmith
1.4k 70 29 92

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

To clamp you want to drag the camera in and then drag off it and choose clamp angle

You can also move your mesh back or the camera forward or change the field of view or move the camera higher. Lots of different ways to go about this.Is it a custom mesh? A picture of the viewport would help.

more ▼

answered Aug 25 '15 at 04:57 PM

avatar image

Nsomnia
1.8k 67 27 137

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

Thanx I got it!

more ▼

answered Sep 03 '15 at 06:25 AM

avatar image

TREDX
1 3

avatar image Nsomnia Sep 03 '15 at 04:31 PM

Make sure you select the best answer so it shows up when people search.

(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