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"

Spawned bullet actor still interacts with instigator

In my project, I have set it up so there is a bullet actor, and a player actor. When i press LMB as the player, it will spawn a sphere which I have made to be the bullet from the RightHand socket of the character mesh and launch forward like a bullet.

In the bullet's blueprint, upon begin play I have set ignore actors when moving set up:

And this is the only code in the bullet:

Actor where bullet is spawned: 1

2

However, if i fire while holding w to move forward or d to move right, the bullet will collide with the player and activate it's OnHit event, which shouldn't happen if i set the bullet to ignore that actor?

Product Version: UE 4.14
Tags:
more ▼

asked Dec 03 '16 at 04:49 PM in Everything Else

avatar image

BravePikachu
1 3

avatar image Holybreath Dec 05 '16 at 11:07 AM

How about you place ignore logic into construct and not begin play? BeginPlay doesn't fire straight away, so that's why you're getting the overlap.

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

0 answers: sort voted first
Be the first one to answer this question
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