Runtime Snapping and Constraints

Hey everyone!

We are working on a project where we need to snap one actor to another at a certain angle, and have the ability to rotate the object on local axes until it is oriented how the user wants it. Originally I was going to use sockets and connect one socket to another, then dynamically switch the socket that was being constrained. However, I noticed in Blueprints that there is no node that allows you to attach one socket to another. You can connect an actor to a socket, but not pick a socket on one object and one socket on another and constrain them.

We are relatively new to UE4 - are we approaching the problem correctly, or is there a better way? I’ve researched and the only answer that I have found is to create multiple models with their origin at the desired pivot point. Our project is very flexible, and we would love to be able to dynamically pick where to constrain on a single actor.

We would love to hear your comments and suggestions. Thanks!

Barry Zundel