I am trying to get some houses distributed on a terrain,
the basic object is working in a sorts, but no textures are being translated via the FBX object.
I am using the Tree Place function in the Terrain Editor.
So, is there a way to get the textures on the objects?
And, though the Create Tree Colliders is selected, my First Person Controller object goes through the objects in the scene.
Hey Don, I could be wrong, but, I think you have to have a Soft Occlusion or Vegetation shader on terrain objects. The docs say:
Trees must use the Nature/Soft Occlusion Leaves and Nature/Soft Occlusion Bark shader.
The only colliders that I think work on terrain objects are capsule colliders (and maybe some other primitive colliders). But, the docs say to add a capsule collider.
When you've imported your Tree asset file, all you need to do is instantiate it in the Scene View, add a Capsule Collider and tweak it, and make the GameObject into a new Prefab.
Thanks, Nathan,
I was just importing straight into the terrain editor
and not stopping in Unity to add the needed materials and colliders.
I appreciate the help.
Dunno, still passing right through the objects after applying a mesh collider.
Ah, ok, the mesh collider doesn’t work but the capsule collider does. Cool.
Hey Don, unfortunately, you won’t be able to use Mesh Colliders because terrain objects only allow for Capsule Colliders.
Hey look! We have the same number of forum posts, haha
Thanks, Nathan, I did try the capsule collider after rereading your post and, yes, that does work, but guess I won’t be able to actually enter any the buildings since the collider prohibits. Still might be useful to populate a scene.
Yeah, that would be awesome to actually be able to use any prefab with any collider on terrains… I wonder why that is we can’t use even Box colliders? hmmm…