When I am placing an object is there a script that will have the object not only snap to the ground, but the ground will also snap to the object so I don’t have a gap? I guess some sort of script that terraforms the ground.
If I go to a mountain and nothing is flat and I want to place a building, it isn’t going to snap correctly and also half of the base will go into the ground. If the ground itself was changed so the building was placed correctly, could this be done?
I’ve attached the script for snapping to the ground, however it snaps too much into the ground. Would it be possible to alter the script and add the above as well?
Script location: Using Unity Editor Extensions to Snap To Ground when placing gameobjects - Unity3D.College
Thanks
8152436–1059146–SnapToGround.cs (578 Bytes)