Actors Issue Visibily vs. Collision

Hello,

I’m trying to set a system in which once the first actor is overlapped it disappear and the second actor appears and so on. It would be meant for multiple actors connected. So the main parameters that are used are Visibility and Collission.

Everything works for visibility, first actor visible, overlapped goes invisible while the second actor pops out (awesome) and when overlapping the second actor it disappears too (wonderful).

With collision instead there are issues > the second actor either remains always with collision on or if I set it off the collision never turns on again even if I use the same methods used for the visibility.

Meaning if I set the second actor with No Collision from Begin Play it can never be activated when the visibility goes on. In the other scenario if the collision is not turned OFF on begin play the player can stumble over it while is invisible and trigger something that cannot even see.

The correct way should be that the actor has no collision until is invisible.

Additional info: the Actors Blueprints has widgets inside (and for the widget the visibily on and off works wonder) - but I cannot make the trigger boxes work in the same way.

Any solution?
Thank you!

Hey @Flavio_nin!

So there are two visibilities:
There is one that makes it “not invisible”
and another that is a Collision Channel.

So when you set your actors to Visible or Hidden, it doesn’t affect the collision channel, only its literal visibility. You can change the collision response by using “Set Collision Profile” first, then tuning it with as many “Set collision response to Channel” nodes as you would need. :slight_smile:

Hope this helps!

1 Like

Hey @Mind-Brain !

You saved my life! Thanks this has been a game changer!
Issue solved. To whom might be encountering the same issue I want to add that
using “set collision profile name” using OverlapAllDynamic with “Update Overlaps” check box true made my actor disappear, so i had to un-check the box relative to “Update Overlaps”.

Thanks again!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.