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 do i debug a blueprint project

Hey there. I'm a freshmen in learning UE4. I followed the tutorial of Blueprints Quick Start Guide, and i constructed my LaunchPad class like this

alt text alt text

However, when my player stepped on the LaunchPad, he wasn't launched at all. So i wonder, if there is a way for me to set a breakpoint somewhere in the program so that i can check what is wrong with my program like using vs2015. Can anyone guide me ? Much obliged!

Product Version: UE 4.14
Tags:
1.png (579.9 kB)
2.png (596.1 kB)
more ▼

asked Nov 29 '16 at 07:18 AM in Blueprint Scripting

avatar image

程续缘
3 1 2 4

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

2 answers: sort voted first

Select a blueprint node and then press "F9" on your keyboard. This will set a breakpoint on that execution node. The debugging in UE4 editor is not nearly as powerful as it is in Visual Studio though.

more ▼

answered Nov 29 '16 at 07:24 AM

avatar image

Slayemin
829 50 29 73

avatar image 程续缘 Nov 29 '16 at 01:14 PM

i tried setting breakpoint on every node. But still nothing happens when the play steps on the LaunchPad...

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

First thing i would check is if your box and your character have collision that will actually overlap. If you never see the overlap fire (Use break or print node to check) then your collision is probably incorrect.

If the box is default set to OverlapAllDynamic, make sure your pawn has collision and that its collision primitive is set to OverlapDynamic(whichever the box uses).

more ▼

answered Dec 03 '16 at 07:54 AM

avatar image

RimmyD
2.6k 98 16 97

(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