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 use PlayerCameraManager with Spring Arm?

Hi, for a third person view system I am using a Scene Component embedding a Spring Arm embedding a Camera. I would like to use a Player Camera Manager in order constrain some movements, like preventing the Spring Arm to go too low on the floor (this creates a zoom in effect). Even though I created a custom Player Controller BluePrint (BP), custom Player Camera Manager BP assigned to the custom Player Controller, the Player Camera Manager settings seem to have no effect.

Product Version: UE 4.15
Tags:
more ▼

asked May 22 '17 at 01:08 PM in Blueprint Scripting

avatar image

eyosido
64 3 6 12

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

2 answers: sort voted first

Did you set player controller into game mode?

more ▼

answered May 22 '17 at 04:04 PM

avatar image

redbox
4.3k 81 19 104

avatar image eyosido May 22 '17 at 05:45 PM

Yes sure I did all the basic things, also breakpointed into Player Camera Manager to make sure it was running.

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

I tried it with new third person project and it works as expected:

  • create camera manager class

  • create player controller class

  • in player controller class set this camera manager class as PlayerCameraManagerClass property

  • set player controller class in game mode class as PlayerControllerClass

  • open camera manager, set View Pitch Min = -45, View Pitch Max = 45

  • compile all and play

for now camera pitch limited and you cannot move it under character mesh

more ▼

answered May 22 '17 at 07:01 PM

avatar image

redbox
4.3k 81 19 104

avatar image eyosido May 23 '17 at 07:30 AM

Indeed it works for the Third Person project template (even though I had to restart Unreal to make it work!), but not in my project which is not using the same technique to control the character. I should probably align to what the template is doing.

(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