Placing objects into a scene appear far away from mouse
Couldn't find an answer for this.
With some of my prefabs, when I drag and drop them into a scene that I'm setting up, the object appears far away from where my mouse pointer is. How can I fix this? This makes creating a level difficult as I have to go find the prefab I placed and drag it back to where I actually wanted it to be.
Thanks!
Answer by gameplay4all · Feb 21, 2017 at 01:09 PM
Are you dragging them directly into the scene view? That should work if you have a floor/object where the asset can be placed on. The floor is important as I believe Unity uses a raycast to place the objects, so you could look from above to have a clearer projection on the floor object.
Good luck!
Oh and it could have something to do with the pivot/center of your assets! $$anonymous$$ake sure they are properly centered.
Your answer
![](https://koobas.hobune.stream/wayback/20220612111548im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Access to prefab scrpit variable by code 0 Answers
How to change the enum value of an instance of a prefab being clicked 0 Answers
Instantiating A Prefab on my Character Troubles,Instantiating a Prefab 2 Answers
Instantiate not spawning at correct position 1 Answer
Sprites assigned to prefab' script' fields not assigned after launch 0 Answers