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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How to make my projectile not collide with anything

I am using a top down view and I made it so when I click my character will fire a projectile towards the mouse but my problem is that the projectile collides with my character. Is there anyway I can make it overlap with my character for say 0.5 seconds?

Product Version: Not Selected
Tags:
more ▼

asked Jul 19 '14 at 06:37 AM in Blueprint Scripting

avatar image

Sletherot
21 4 6 7

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

2 answers: sort voted first

if its colliding with the character you can either make it ignore instigator or transform the firing start point away from the character using make transform.

more ▼

answered Jul 19 '14 at 06:43 AM

avatar image

DJMidKnight
1.2k 50 24 50

avatar image Sletherot Jul 19 '14 at 06:52 AM

I tried the idea of making a new transform but the problem I had was that I could not get the transform to spawn in the correct location according to where I clicked.

Also, how would I make it ignore the instigator?

Sorry I am new to UE4 haha

avatar image mindfane Jul 19 '14 at 09:27 AM

Use the node 'Ignore Actor'. It is best called at the time of Projectile spawning. Get a reference to the Collision compoent and call this node. Pass the Actor to ignore as the second param. You might want to do this in the other direction as well to make sure it work perfectly.

ie: Player->[CollsionComp]->Ignore Actor (spawned projectile)

AND

Projectile->[CollsionComp]->Ignore Actor(Player)

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

I think you can simply make a custom object channel for your character and then put overlap on that in the collision for the projectile. Simple as that.

more ▼

answered Jul 19 '14 at 07:07 AM

avatar image

fanzypantz
377 31 42 63

(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