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 Transfer From First Person To Third?

Hey, I'm following this tutorial below and the only thing I believe I'm doing wrong is that he is using a First Person Character and I am using Third Person.

Tutorial: https://www.youtube.com/watch?v=TVZS7BHSEkY

I did everything exactly the same except when I use my ThirdPersonCharacter, the camera options are different, Below is a picture of the camera options I had.

alt text

The part he does this at is about 11 minutes and 20 seconds. He uses a First Person Camera Component. Seeing as I don't have that, I attempted it with my camera boom and my follow camera , neither which worked.

Below is how it looks for me, alt text

It just occurred to me that maybe it's because in the tutorial, he uses Right Mouse Click and since I'm in Third Person, maybe I have to change the button because Right Click changes the camera? Unsure of it but will test it after posting this. In the mean time, I would appreciate any help I can get in fixing this.

Product Version: UE 4.18
Tags:
more ▼

asked Mar 28 '18 at 08:48 PM in Blueprint Scripting

avatar image

zeltparker
13 3 2 6

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

1 answer: sort voted first

In order for you to switch to first person, there has to be a Camera (presumably in front of your character's face) in your blueprint. You can then activate and deactivate cameras as you wish :)

more ▼

answered Mar 28 '18 at 08:58 PM

avatar image

goncasmage
897 12 14 22

avatar image zeltparker Mar 29 '18 at 04:15 PM

@goncasmage I added in a camera component and tried attaching it in place instead of the camera boom and such but it didn't change much for me. Could you explain how to make it where I can switch between the two cameras?

avatar image goncasmage Mar 29 '18 at 05:51 PM

Inside your character blueprint, make sure you have two cameras. Make sure that one of them is not activated (untick auto-activate). If you want to start in ThirdPerson, untick this property in the FirstPersonCamera and vice-versa.

alt text

Then, you have to activate and deactivate each camera as you switch from them. For instance, in this setup, while you are pressing F, you are in First Person, and if you aren't pressing F, you are in ThirdPerson

alt text

help1.png (924.4 kB)
help2.png (133.3 kB)
avatar image zeltparker Mar 29 '18 at 11:47 PM

This works awesomely except that when I go in first person mode, the control are near unbearable and I can't look around as in a first person game. I know I'm asking a lot but could you point me in the direction of fixing that? More effort than I imagine to write on a whiteboard haha.

avatar image goncasmage Mar 30 '18 at 08:47 AM

I guess right now, the best i can help you with is this:

Try either messing with this value in your Camera component:

alt text

These values in your Camera Boom (Spring Component):

alt text

Or these values in your CharacterMovement Component:

alt text

In this order ;)

help2.png (260.2 kB)
help3.png (258.5 kB)
help4.png (267.6 kB)
avatar image zeltparker Apr 05 '18 at 05:11 PM

I could swear I replied and accepted this as the right answer. This ended up working well. Only thing I wasn't fond of was when in Third Person, the character can no longer turn but it still works so that's what counts.

(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