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 Collision Problem with Patrolling Actor

Followed this tutorial on creating my own 2D sidescroller. It works fine except that the spawned projectile does NOT collide with the walls or my patrolling actor. I made my patrolling actor based off this video. The only problem is that the projectile does not hit the patrolling actor. Can anyone help me with this obstacle?

Here are pictures of the projectile blueprint and the patrolling actor blueprint.

alt text alt text

Product Version: UE 4.10
more ▼

asked Jan 02 '16 at 08:54 PM in Blueprint Scripting

avatar image

43 8 6 10

avatar image Darvos Jan 03 '16 at 04:12 AM

I believe in order to have a hit event(not overlap), you need to turn on "simulation generates hit events". It is located in the collision drop down menu to the right. Try checking that box and see if that works.

avatar image ImmortalxHerb Jan 03 '16 at 07:56 AM

thank you for replying. i checked those boxes and yet still nothing. what is more odd is that i checked the collision boxes while debugging and no collision boxes were present for the spawned projectile. pictures incuded.

alt text alt text alt text

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

1 answer: sort voted first

I had a similar problem with my game once. I put a collision sphere on the projectile. Maybe that will help

more ▼

answered Jan 03 '16 at 06:09 PM

avatar image

63 4 6 8

avatar image ImmortalxHerb Jan 06 '16 at 03:09 AM

thanks man. i figured it out thanks to what you said. i ran into another bug, but it's not related to this. anyway i can mark this as resolved?

avatar image Pellanor Apr 16 '16 at 07:17 AM

I ran into the same issue. Not only did I have to add a collision sphere, I also needed to make it the root component. Hope this helps somebody in the future!

(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