Make slide two actors

Hi everyone,
I’m moving actors with the mouse using setactorlocation with sweep enabled to make them collide.
Everything works fine, but what I want is the two actors to slide when I move one of them after collision, while now they are “glued” together. Something like the character that can run along the walls even if it’s colliding with them.
I don’t want to add any space between the actors because this is meant to be used to get measures.
Hope I’ve been clear enough.

Thank you very much.

Hi @jobim

once you get a collision you could change way:
i would try to cast a linetrace and thus calculate if the next movement hit the wall.
if yes, move parallel to the surface the actor,

Ok, thank you very much.