I was unable to find this anywhere, and am hoping someone might know. Is it possible for me to use a rock mesh instead of a tree mesh when using the mass-tree place tool? It worked when placing, but I’ve run into a large problem- None of the rocks cause a collision, and I can walk right through them! Someone said making a prefab and making the prefab of the “tree” would cause collision detection once mass placing the prefab if I gave the prefab a collision detector, but even so, mass placing the prefab (with a collider) is still just placing a large quantity of walk-throughable rocks =\ anyone know what I’m doing wrong?
3 Answers
3It happens to everyone, I have also been having this problem. I haunt tried this but possibly make a empty game object and put it around your rock with either a sphere or box collider and then test it out.
Hi, I mis-read you question the first time this should do what you need.
-
Get the Terrain Assets pack(free) from the asset store by Unity tech, if you have not alreday got it.
-
find the “rock mesh” from within this terrain pack folder.
-
Place one rock in your scene(drag the rock mesh file into your scene).
-
Add a sphere collider to this rock via add component.
-
Create a prefab in the folder where you got the rock called “Rock with collider”.
-
Drag your rock from the scene(via hierarchy window) onto the new prefab.
-
Delete the rock from the scene.
-
Go to your tree painter tab in your terrain. Now open add and drag your new rock prefab into the object box of the add window.
-
Paint you rocks.
This should do what you need.
Does the terrain asset's pack have a rock mesh? looking at the file information I only see tree's, materials and bush's o-o
– knight_D345It is in my terrain assets folder. but I'm just going to have a check on the asset store to see where it came from, will let you know shortly.
– MrSoadYes it is definitley in the Terrain Assets pack, if you scroll down the detailed file list below the description you will see the "RockMesh.fbx" file.
– MrSoadits soo simple
1- put your rock on the hierarchy
2- put a mesh collider
3- make it as prefap
4- goo and draw as u like
i wich it works with u
It's an idea, I'll try it out. Even if it doesn't work though, Ty for the idea haha
– knight_D345Np lol haha
– sylvsyntax