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"

Player Only Barrier - Only block player pawns

I've been tearing my hair out all day over collisions with my pawns. This thread is getting at the same problem, but the solution doesn't work. Similar to call of duty zombies, I want the enemies to spawn behind a forcefield-like gate that only they can get through so the player doesn't escape the map.

Both characters originate from the same third person template character. I created a 'PlayerOnlyBarrier' channel for the gate, and edited the settings in each of the pawn capsules. (I set the mesh collision on both to No Collide temporarily)

Currently, it seems that the 'PlayerOnlyBarrier' collision channel has no effect. The only thing that checks if the pawns get through the gate, is the pawn setting in the gate collisions.

Does anyone know what's going on?

Gate Settings: alt text

Player Settings: alt text

Enemy Settings: alt text

Product Version: UE 4.18
Tags:
more ▼

asked Feb 09 '18 at 10:12 PM in Blueprint Scripting

avatar image

ce2727
1 1 1 4

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

1 answer: sort voted first

Solved, made collision channels for all three and set them dynamically in blueprints.

more ▼

answered Feb 09 '18 at 10:23 PM

avatar image

ce2727
1 1 1 4

(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