Move an actor along another actor's surface

Hello, in a Blueprint, how do I move a mouse-draggable actor along another actor’s surface? An example would be player drags mouse to move a spider on the visible surface of a dog (or any irregular shaped object, not something simple like a wall). Is there a blueprint node like “Constrain movement to other actor” or anything?

If not, I’ve seen other forum posts about using line traces, is there a technique like that?

yes likely just a line trace on tick, you can get the hit location and the normal to set the actors transform.

1 Like