Hi BiggestSmile, thanks for your answer, that’s possible with Project Settings → Collision. The thing is that it’s a multiplayer game where are the player characters are the same, so can’t make that one has a collision channel different to the others.
So that’s why I’m asking: is it possiblet to set an Actor not to collide with one specific other Actor without changing the collision settings?
Oh i see now, sorry, misunderstood your question. I don’t see any other possible ways actually. Only thing i can think of is ignoring collision somehow within collision events, but that’s probably wrong way as events occur according to collision properties…
It would require some code rewrite i assume, actually interested in the subject as well. Hope someone from staff will reply
Great, I’ve checked out and there’s an array named “Tags” for blueprint characters, and possibly many other actors, so I can set different tags for each players and compare them for wanted operations. Thank you!
How would you set this array up? Could you share a blueprint. I see the array for tags and use “Hero” for my MyCharacter blueprint, but I am also doing Multiplayer game and not sure how to go about setting up a Tag for both characters.
Collision compoenents support a function called MoveIgnoreActor (C++) whcih will allow you to add an Actor instance into the list of Actors ignored by the Collision Compoenent.
In Blueprint, there is a node called ‘Ignore Actor’ that does the same thing. First you must get a reference to a collision component. Then draw a connector from it and start typing ‘Ignore’ and you will see it.
I’m making a multiplayer game that requires one-way platforms as well. This was my solution! I have one parent actor that all of my one-way platforms are children of. Each character searches for all of the actors of that class in the level and builds and an array of them. On each tick the character compares the height of each platform relative to itself to decide which platforms are to be collided with and which are to be ignored. That way platforms aren’t actually turning collision on or off, each individual player is just ignoring or colliding with platforms independently!
Hey guys, I’m not sure I’m understanding everything correctly. I have two collision spheres (PunchCollision(L/R)) and I don’t want them to collide with the Capsule Component on the Actor they belong to. But other players in this multiplayer game use the same blueprint and when the character punches, I would like for his hits to land on the other players.
I tried to set it up, but I’m not sure I did it right. I hooked it onto the end of my punch event that enables collision.