Hey everyone, I’m just diving into babylon, but I’m loving it. I am stuck on something though. I want a user to be able to build custom vehicles for a game (different wheel block,engine, and weapon configurations). Maybe there’s something built in that I just haven’t discovered yet, but I can’t figure out how I’m going to stack all the different parts (wheels on bottoms, then engines, then weapons). Is there a way to tell babylon that I have like 7 different meshes I want to “connect” together but have control over each part independently? I’ve looked at merging meshes, and saw on another thread about using an invisible parent node and adding children. A more detailed example of what I’d want could be: a set of tires, 2 engines, and 3 weapons stacked vertically – with tires being on the bottom and weapons on top.
Take a look at what I have so far. Babylon.js Playground
Right now I have an engine and a set of tires that just overlap each other. If I just try to apply a position like tires.position.x = 3; I get an error.
Thanks for all the help in advance!