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"

What decides the default camera in the sidescroller example?

In 2D sidescroller, what factor or where it is decided what is the default camera for the... level? It doesn't say anything about cameras in the character BP nor in level BP.

Also a side question: Why can't I jump while in mid-air even thought there isn't anything against it http://prntscr.com/4epm78

Mind me, Im a noob.

Product Version: Not Selected
Tags:
more ▼

asked Aug 20 '14 at 04:56 PM in Blueprint Scripting

avatar image

Cryo
30 6 8 11

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

1 answer: sort voted first

Hi Cryo,

The camera is located under the Components tab in the character blueprint.

The Jump function node that you are seeing is hard coded in. It can be easily manipulated though. Check out this quick tutorial on how to add in a double jump.

https://www.youtube.com/watch?v=dzWHlqyW3xI#t=64

I hope that helps.

TJ

more ▼

answered Aug 20 '14 at 09:32 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image Cryo Aug 21 '14 at 04:27 PM

When I destroy the whole character and its camera component and then I will add a new camera to the level and press start it doesn't take the camera view. I know it can be activated vie blueprint (http://prntscr.com/4f11yg) but I couldn't find any blueprint that would have activated the character's camera component one. so how's the example's character's camera component activated? Is it related to the gamemode becuase the character's camera component doesn't work when I choose the gamemode from "none" to "GameMode" the camera isn't activated again?

avatar image TJ V ♦♦ STAFF Aug 21 '14 at 05:46 PM

Yes, the camera is activated when you set the DefaultPawnClass in the GameMode. When you first create a project the Default Pawn Class is the MyCharacter blueprint which has a camera component.

avatar image Cryo Aug 21 '14 at 06:50 PM

Yes that was the info I was looking for. thanks.

(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