Do you have an example on how to use splines? It says you support them, and I see code in SearchSocket
that seems to handle SplineComponent
s, but it’s not working for me. I can’t seem to find an example in the provided example project.
To provide some more details of what I’m trying to do:
- I am spawning new actors with a mouse click and dragging them until they snap to existing actors
- All of the actors I’m trying to snap together are blueprint actors which have a single child of type SplineComponent under the root SceneComponent. On construction, I add a simple cylinder spline mesh component
- I was able to get the system working easily with static mesh actors, leveraging
SnapActor
, however this doesn’t work by just giving it the actor of the new blueprint actor that has a child SplineComponent