x


Placing items on terrain in the editor

Hi, this has got to be an easy newbie question but I can't figure it out. I want to drag and drop entities from my Project into my scene, and have them show up on my terrain. But instead they show up some 100000000 miles away from the terrain object, and I have to manually pull them around for ten minutes until they sit on the terrain in the right spot. How do I get Unity to drop my stuff on the terrain? Or barring that, is there some way to say "put it where this other thing is"? I am having a really hard time positioning objects efficiently.

more ▼

asked Mar 31 '10 at 03:34 AM

eheimburg gravatar image

eheimburg
214 9 12 17

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

If you drag objects into the hierarchy view, they will appear at 0,0,0. If you drag objects into the scene view, they appear some distance in front of the scene camera. You may therefore want to position the scene camera so that objects will appear in more convenient places. Also, if you hold down shift+command (shift+control on Windows) and drag the middle of the object, it will snap to the surface below.

more ▼

answered Mar 31 '10 at 04:06 AM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

(To update a two-year-old question:)

Another related newbie thing to know is that if you use the mouse wheel to move the editor camera, it DOESN'T actually move it. It just zooms the view in or out.

If you drop an item into the scene, it always appears just a bit away from the camera. But if you're zoomed way out, that may SEEM very far away. The fix is to zoom in with the mouse wheel.

(It would be nice if there was a way to see your current zoom level, but I haven't ever found it.)

Aug 23 '12 at 03:34 AM eheimburg
(comments are locked)
10|3000 characters needed characters left

An easy way to do this, is just to position your terrain at x=0, y=0, z=0. Then when you import a new object into your scene just type in the transform (position) box, 0 for each x, y and z co-ords. Tip: Once the object is placed at 0, 0, 0 press F, to quickly focus on it so you can move it around your terrain faster.

more ▼

answered Mar 31 '10 at 04:01 AM

JimNix gravatar image

JimNix
58 3 3 11

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1673
x1472
x50
x36
x15

asked: Mar 31 '10 at 03:34 AM

Seen: 2321 times

Last Updated: Aug 23 '12 at 03:34 AM