I’m struggling to find examples of how to manage collision profiles in code. With blueprints, there are checkboxes that let you specify that “walls” block “bullets” but “bullets” ignores other “bullets”, etc… Very convenient.
In code, though, all I’ve found so far is
SetCollisionObjectType(): sets the collision profile for a mesh component
SetCollisionResponseToChannel(): sets a mesh component’s response to a particular channel
But how do I specify, in code, that all “bullets” should ignore other “bullets,” and so on? I guess I could set the response for every single mesh, but that seems really inefficient, both in coding time and execution time.