Can’t seem to get collision working with any detail meshes…I assume I am missing something obvious?
All my other regular models are fine when I add my mesh colliders.
Can’t seem to get collision working with any detail meshes…I assume I am missing something obvious?
All my other regular models are fine when I add my mesh colliders.
Hmm also cannot get this working for trees. In fact having issues with Tree’s not showing up correctly (when painted), even though as seperate models they look fine (bark is missing).
Doh - for the trees I realized they have four materials…
Besides hand paiting (ugh) - what’s my best option?
Hi !
Model your trees in whatever app your using
Make sure that your tree is a single mesh (one object)
Make sure that it has only two materials (bark, leaves)
Export the tree to assets/xxxxxx/Trees Ambient-Occlusion (if not, the shaders will be f*cked up)
óle !!!
Find out that the Natural AO shader is WAY too FPS expensive to use and revert back to do trees as usual with custom lods + vegetation twopass shader.
And if you use some other camera than first person (or more likely use some more exotic fov than 60) you´ll find out that the terrain engines tree Lod system goes bonkers:)
IMHO The terrain system is top notch but not suited for browser based gaming, yet.
Cheers !
Thanks Peter, I did know that but had forgotten.
Back to my original question - anyone know how to add collision to a detail mesh? Tried a capsule and mesh collider - no go.