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"

Use blueprint to change the collision of a Box HELP!

Hi,

I'am trying to make a 2d side scroller. I want to make my charachter walk trough/past a platform (so the charachter can backtrack to the begining of the level etc), but when he jumps he can jump onto the platform. I know how i can get the charachter to walk past the platform by setting the box collision to ignoreonlypawn.

But i want the box collision to change to invisablewall when triggered so the charachter can jump on the platform.

How do i achieve this in blueprint??

Product Version: Not Selected
Tags:
more ▼

asked Aug 17 '14 at 01:36 PM in Blueprint Scripting

avatar image

LoneWolf
1 2 3 3

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

1 answer: sort voted first

You can set collision response by channel by accessing the Primitive Component directly. Here is a screenshot of the node you need to change channel responses. So you can change it to block Pawn, then ignore Pawn as you see fit.

alt text

more ▼

answered Aug 18 '14 at 12:45 AM

avatar image

PeterLNewton
2.1k 75 37 111

avatar image LoneWolf Aug 18 '14 at 12:05 PM

Stupid question maybe. But i am using a basic box as my collision, through which my character can walk, but when he jump he can jump on it.

When i add a reference for the box in levelBP it states persistent level. How or can i change that to primitivecomponent?

(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