- Home /
Design discussion/multiple technical questions
Creating piping model at runtime
Hello, guys! I'm rather new to Unity and I'm completely new to 3d-modeling, since I have web programming background. So I would be glad to get some advice from more experienced developers.
As a programmer I'm creating an application now (С#+Unity3D) for modeling piping for transporting gas between the cities. The piping must be created and visualized at runtime. The route is calculated at runtime depending on the user's input. I wish to achieve the smooth look of my piping, taking into accout the terrain is not flat (based on real geospatioal data) and the piping length and some other parameters (diameter) are chosen by the user.
I'm not sure my approach is going to work, but that's the only thing I have come up with by now. So, as I think, I have to create a prefab - a piping section - and instantiate it at runtime as many times as I need and then place these copies along the route and position them right. I haven't succeeded in my approach however. I just feel the lack of tools (or knowledge) that would help me with uniting the sections and positioning them at runtime smoothly. I tried creating a flexible section in Blender and export it into Unity (see https://www.youtube.com/watch?v=IrXAPC-PLLA) but can't export it so that I can bend it by using the key points(anyway, this is another issue).
So my questions are:
is there any way to achieve the smooth look of the sections connections (so that it looks like a whole, seamless)?
Is there a conceptually better approach to solve my problem? Maybe I'm not aware of some Unity's features that make the solution easier/faster/better in terms of performance
Thank you a lot for answering! I would be glad to hear any ideas you have on this topic
As a design/discussion issue, this question should be asked on Unity Forums. Unity Answers is designed for single, specific issues.
If you are a willing to spend a bit of money, the $$anonymous$$egafiers and $$anonymous$$egashapes add-on packages might be a solution for you.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Dynamic editor dll linking? 0 Answers
How to flip and stack a gameobject? 1 Answer
Need to load prefabs during runtime 1 Answer