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"

How to ignore component collision with other Root components?

I'm trying to make a system for a fighting game, and I need a bunch of spheres to get a more accurate collision representation of a model.

I have some blue spheres for getting hit, and some red ones for inflicting damage.

If red overlaps the blue collision shapes it should register a hit.

I have the separate collision channels set up for this and the detection is working, but the character collides with it's own collision objects, instead of just the ones from the enemy.

How do you disable collision with other root components?

Product Version: Not Selected
Tags:
more ▼

asked Jun 12 '14 at 05:31 AM in Blueprint Scripting

avatar image

Gabe687
130 14 15 24

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

1 answer: sort voted first

Could you use 4 channels? blue_player1 red_player1 blue_player2 red_player2 Then the red/blue for each player would mark them selves as ignoring any other channels from that same player?

If you want to have multiple characters there would likely still be a common team that they are in, and so you could still share channels.

Let me know if you're still having trouble.

more ▼

answered Jun 12 '14 at 03:45 PM

avatar image

[Epic]Ori Cohen STAFF
1.4k 25 14 58

avatar image Gabe687 Jun 12 '14 at 10:37 PM

Thanks, I thought about that too, but I still don't know how to change the collision channels depending on the character. I'll keep searching.

avatar image Gabe687 Jun 14 '14 at 08:01 PM

It worked now, using the 4 collision ID setup. I have to make a copy of the character and change it manually still.

I don't understand how to get who the other character is, and have the collision change automatically.

(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