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 make a Overlap not target Player?

For this project, I am making I need a collision box in an actor blueprint to not be triggered when overlapping with the player, does anyone know any way to do this?

Product Version: UE 4.16
Tags:
more ▼

asked Dec 21 '17 at 07:57 AM in Blueprint Scripting

avatar image

Fantus_
10 2 5

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

2 answers: sort voted first

Hi

Just go into the collision Presets of your collision object and set it on custom and ignore pawn. It's also possible to create custom collision Responses.

alt text

collision.png (586.5 kB)
more ▼

answered Dec 21 '17 at 08:15 AM

avatar image

lkav
969 8 5 9

avatar image Fantus_ Dec 21 '17 at 07:43 PM

Just tried this, now it doesn't overlap with the enemy

avatar image lkav Dec 21 '17 at 08:11 PM

under your project Settings you can create custom collision channels. Then you can assign it to your Character and ignore camera or make one for all your enemies.

Edit > Project Settings > Eninge > Collision

avatar image Fantus_ Dec 21 '17 at 08:54 PM

Thanks for the help, got it working now

avatar image lkav Dec 22 '17 at 10:34 PM

good. Can you mark it as answered? Or do you still need help?

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

If you need simple solution, here is: alt text

you can use also != (not equal), same work. If this is not Player, it can be triggered after False node.

more ▼

answered Dec 21 '17 at 08:20 PM

avatar image

Vaheva
1.3k 24 25 49

avatar image Fantus_ Dec 21 '17 at 08:55 PM

Tried this, would never work for what I'm doing, the player is "holding" the collision box meaning that it would always be overlapping with them

(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