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 set max yaw/pitch/roll camera bounds during game play?

Going to try to ask about this one last time before giving up and coming back after the engine is more mature.

I want to give my player character 2 different control/camera behaviors that can be switched between in game play. I've set up an alternate Player Camera Manager class that has different yaw and roll values, and when I assign that class to my Player Controller class, the values work and my camera bounds function as intended. However when I try to switch between the two Player Camera Manager classes during game play using the SET Player Camera Manager Class node in the Player Controller class, the behavior does not change. The node does work if I use it in Construction Script rather than Event Graph but that does not help me change the values while the game is running. Here is the setup that does not work, though it seems like it SHOULD:

alt text

I attempted another solution which was to change the values directly in the assigned Player Camera Manager class. This also did not work, and when testing, the class itself did not respond to InputAction events, even though I had set the "Auto Receive Input" to Player 0. It wouldn't even play the sound I assigned for testing purposes:

alt text

I also set it up with an interface to fire the event from elsewhere, but that did not work either. Are there certain classes that simply won't allow changes at runtime? Why these solutions do not work is very confusing and frustrating, and it seems like I'm having issues similar to this at every turn. If anyone can shed some light on these problems, I'd appreciate it. Thanks.

Product Version: Not Selected
Tags:
more ▼

asked Jul 19 '14 at 10:14 PM in Blueprint Scripting

avatar image

princemoonrise
18 2 6 8

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

1 answer: sort voted first

using different camera's is easy, different controls... less easy, you might have to manually clamp your controller rotations.

more ▼

answered Jul 20 '14 at 12:43 AM

avatar image

Fenrix
18 8 13 12

(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