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"

Projectile Going Through Walls

So my projectile, no matter what I do, always goes through walls, I tried to use the "on hit > destroy actor" idea (https://answers.unrealengine.com/sto...ecollision.png) but it didn't work either, while playing, it keeps adding actors when I fire and never destroying them, any ideas?

Product Version: UE 4.11
Tags:
more ▼

asked May 21 '16 at 03:35 PM in Blueprint Scripting

avatar image

BlizzKrut
3 3 5 8

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

2 answers: sort voted first

(I know this question is old, but I'm gonna answer it anyway...)

Have you tried enabling "continuous collision detection" on the projectile?

Continuous collision detection prevents small and/or fast objects from passing through walls.

(To enable it: navigate to the projectile's "details" tab, and under collision: check "Use CCD".)

more ▼

answered Mar 25 '17 at 05:16 AM

avatar image

JerichoBLT
179 14 19 29

avatar image Kyle Carpio May 03 '17 at 03:13 PM

CCD does not work for me when I tried it.

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

If the projectile is too fast, it may don't see the wall :

1000 m/s -> ~40m per tick so the wall is too small to be calculated

use linetrace for collision, this will detect your wall ;)

more ▼

answered May 21 '16 at 04:00 PM

avatar image

mdonge
825 31 12 36

avatar image BlizzKrut May 21 '16 at 04:28 PM

Debug registers but goes through http://i.imgur.com/NfKL9BR.png

(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