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"

My character uses the default camera despite having his own

I've created a character blueprint with a skeletal mesh, a capsule, and a camera attached to a spring arm. Whenever I start playing, the camera is in the wrong place - it seems to ignore the spring arm - and has the wrong field of view, but otherwise responds correctly to my blueprint (it zooms and rotates as it should). I suspected it might not be my camera at all, but a "default" one that is created when I press play, and yes, this is exactly what's happening.

It's the wrong camera with the wrong initial settings, but it behaves exactly like my player camera should, so my blueprint and the spring arm do affect it somehow!

I've figured out that my problem might have something to do with something called "player camera manager class", which I have to create - otherwise the game uses the default. However, the documentation contains no information about such a thing, and the tutorials on how to set up a player camera leave that part out.

I've created a "Player Camera manager Class" and set my player controller to use it, instead of the default. I set the default field of view to 80, but the camera created on startup still has the fov set to 90, so it appears the Player Camera Manager Class does not affect the camera settings at all. Do I even need it?

How do I get the game to use the camera in my character blueprint?

alt text alt text

Product Version: UE 4.20
Tags:
startview.jpg (235.3 kB)
wrongfov.jpg (25.9 kB)
more ▼

asked Oct 12 '18 at 06:03 PM in Blueprint Scripting

avatar image

broder_fisk
1 5 4 5

avatar image Kvackie Oct 12 '18 at 06:07 PM

Hello, a good start would be to show your blueprint and how you've setup the camera and springarm!

avatar image broder_fisk Oct 12 '18 at 06:30 PM

alt text alt text alt text

bp-viewport.jpg (113.5 kB)
camera-setup.jpg (54.1 kB)
character-bp.jpg (165.8 kB)
avatar image Kvackie Oct 12 '18 at 06:39 PM

It looks fine, check that you've added the correct pawn to the game world and try to move the variables of the camera while playing and see if it changes anything real-time.

avatar image broder_fisk Oct 12 '18 at 06:37 PM

I found information about the camera manager class and what it's supposed to do - and it seems to be unrelated to my problem.

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

1 answer: sort voted first

I found out what's going on: When I click play, the camera immediately zooms in on the character, but it happens so quickly that it seems as if it starts in the wrong place! If I put a delay before the zoom blueprint, it still zooms in but much slower and less smoothly. The zoom on startup could be an issue with my mouse and not with the game, but I don't know yet.

more ▼

answered Oct 12 '18 at 07:07 PM

avatar image

broder_fisk
1 5 4 5

avatar image broder_fisk Oct 14 '18 at 06:43 PM

I'm marking this as "accepted answer" despite not really having solved my problem. I've seen some other people asking about cameras in the wrong place and what I discovered might be helpful for those who experience similar problems in the future.

(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