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"

Ignoring Collision by pressing a button


i am currently working on a 2d side scroller and i asked myself what is the best practice to drop from a box if i am pressing the down-button for example.

e.G.: I am standing on a box with my character and can run on top of it. If i am pressing a button i want to drop down and land on the ground and move in front of the box, but if i am jumping i want the collision re-enabled to stand on the box.

sry for my bad english and thx for your help!

Product Version: Not Selected
more ▼

asked Apr 13 '15 at 11:26 AM in Blueprint Scripting

avatar image

3 1 2 3

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

1 answer: sort voted first

You would disable the collision on the object that you are currently standing on when they press down. Obviously put checks in place to make sure that it is a box and not the normal walking area.

For jumping you would reverse the process, but you would have to do some fancy spatial checking to activate collisions on all boxes around you.

This is a very simplified explanation of what you need to do. Can't think of the correct node right now ... not in front of my dev machine ... sorry.

more ▼

answered Apr 13 '15 at 11:38 AM

avatar image

649 31 11 43

avatar image mStell Apr 13 '15 at 12:12 PM

thank you, this is helping me! :)

(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