Created Robot Build System. How to merge the pieces into a single playable pawn?

I created a simple build system that lets you cobble together different types of PVC tubes to build a ROV. The problem I’m facing is that I have no idea how to then combine the spawned actors into a single pawn, so that the player can then possess it and test out their design. There are only two actors: the Tee actor and the Elbow actor. The rest of the tubes are static meshes that are attached to these using sockets.



I appreciate any ideas (no matter how crazy) because I am completely stumped.

have you tried adding one of the actors as a child actor to the other actor.

hmm, I’ve looked into child actors, but I’m not entirely sure how they work. If I make the Elbow and Tee actors child actors of a pawn, will they all be part of the same pawn when spawned?

yes they will be part of the same pawn when spawned but you will have to come up with a way to place them in the right location. its essentially like adding a second static mesh within a blueprint, except in this case what your adding can have its own functionality. just thowing it out there as an idea i dont have all the answers of how you would implement it though since your looking to design and combine at runtime.

Maybe it would be better to spawn components inside your pawn instead of spawning actors? If you need a blueprint functionality you can make it even with Actor component, not only with an actor blueprint.

This sounds like it could be possible. thank you for the suggestion, I’ll try it out and let you know