So I have buildables and snappable objects in my project. Let’s say I have a pipe connector, and you can snap other pipe connectors on the left and right of the actor, but in the middle of the pipe, I have two boxes that are only valid for snapping pipes. All box collisions are just the same.
I came up with a blueprint interface in which I need to send an enum based on what type of object I am holding right now. I’m not sure if it is a good solution or if it goes against some best practices. It works, though.