Building collision on buildable
Im making a couple buildables with large custom meshes. I want to be able to have other factory buildings or foundations be able to be placed on top of these buildables. However right now only belts and similar can be placed on top it seems. I've looked through the building descriptor settings but i dont think i see anything about what changes that behavior.
Does anyone know how to change this behaviour for a buildable?
6 Replies
I'm not sure if there are any other buildings in the game with this functionality, you might need custom hologram code to make it work
wouldnt the foundations have similar functionality?
I assume your buildable does more than just be a foundation
can you share some screenshots of those custom meshes?
theyre just decorative terrain parts. Like little nature terrain objects. Im mainly just messing around with how modding works in unreal and satisfactory. Its probably not going to be anything i actually publish, mainly just a personal exercise in getting to know how things work
so theyre not flat or anything, more like little hills and stuff that should have enough space to place factory parts on
the modded buildables themselves place just fine. Its stuff like other machines such as constructors, assemblers, etc, that just say invalid building location
is there a tag or a class i can assign somewhere that would let them be placed on these custom meshes. Similar to how they place on foundations, maybe just without the snapping part?
I'm not sure, @D4rk may have some insights as to what drives that behavior
my point is that, to my knowledge, the only thing in the base game that supports the placement of other machines/foundations on them are foundations (and I guess walls), so you might need your terrain objects to descend from the foundation classes to inherit that behavior
i see, so would that be using whatever the foundation class is instead of the FGBuildable class?