Download

Change collision response for object type in runtime

I’m trying to create a toggle ability where the player can walk through objects.
I managed to most of it, but the camera is acting weird when I’m walking through such objects (e.g. a building),
because the camera is set to collide with it.

However, there are many objects like that in the world, and I can’t change it on a per-object basis.
How can I change that for all objects for a specific object type (collision object type), in runtime?

p.s.
I don’t mind doing it in c++

Anyone? is it really impossible to create a walk-through ability in UE4 then??

“Target is Primitive Component”.
I need something for all primitive components of a type.
Image a city full of 200 buildings. Assume you can’t loop over them (you don’t have a list of those 200 objects)