Hello. Can i create an array of actor which will be ignored by collision of other actors even if defaultly they have Block or Overlap?
Hey there @Username0520! The answer to this question is a resounding yes you can do it! However it’s not going to be quite as straight forward as you’d expect. This is due to the actor themselves not containing the collision info. Colliders, Static Meshes, and more components actually do that, which makes it that you collide with a component and not an actor.
So if you want to set multiple components collision types (preferably to a type that you have default to no collision, or overlap all however you wanna handle it) or just turn the collisions off directly. The harder part is getting the components you want in the array. Best move would have every object you want to do that register themselves in the array when it’s needed.
Here’s the basic logic for iterating on the loop and changing collision. One for just turning it on or off again, and one that you can instead set it’s collision object type.
Hope that helps!
Thanks.