I was hoping someone could point me in the right direction on where I can find some info on how to import a scene/level of the game. My brother is basically learning modelling and I’m learning the programming. How would he go about building a level?
Can he assemble the level (He uses Blender) as a whole, and output all the objects as one parented unit so I can simply import and move characters around on the level?
Or, does he have to have each object separately made, and I have to assembly the level by putting them all together in the right positions?
Sorry if this is a stupid question, but I couldn’t really find any info before posting it. So if you have a link that can help, I’d gladly take it!
There’s no short answer. Each case is different. I use blender to model my level geometry in some cases I import a mesh all as one and in some cases I split the level geometry into single meshes.
I’m currently working on a demolition derby style game. The bowl events are mostly one single mesh but the closed circuit racing events are multiple meshes to create the levels.
There are several reasons to split a mesh such as occlusion culling (not rendering bits of the level that are hidden behind other objects or not in the cameras view) if your level is a single mesh it will all be rendered all of the time and also different shaders applied to different meshes. You might have brick, metal, glass etc. All need a shader with different parameters to look their best.
Thanks for the reply. What you’re saying makes sense. AFAIK It’s probably best not to use a single mesh for what we’re doing. We want to duplicate a lot of areas. Eg, trees, dirt roads, grassy hills, which would be similar in a lot of places. And we don’t anticipate combining them all into one mesh after making the level.
I assume you never make it all as one mesh. You make them all separate objects, and then decide on “combining” them all into one?
Also, my question was kind of asking if we should build the entire scene and set it up in the external app (Blender). Eg, position the ground, trees, houses, etc… all in one file, as opposed to making single objects, exporting them one at a time, and trying to position them in unity one by one.