Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by GameGuy · Jul 22, 2014 at 03:44 PM · editorinspectorsceneview

Why is a added GameObject never at Position 0,0,0 ?

When you add a GameObject in the Editor to a Scene(Menu>>GameObject>>Create Other>>XYZ) it is never on Position 0,0,0 ! You always need to correct that by hand in the Inspector.

So whats the reason for that behavior and how to avoid it, and add the GO always to Position 0,0,0 ?

Thanks GameGuy

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by wibble82 · Jul 22, 2014 at 04:13 PM

I think it creates them near where the camera is. The idea being that if you're working on a bit of a scene that is nowhere near the origin (0,0,0) then creating a game object should create it near where you're working.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Loius · Jul 22, 2014 at 04:23 PM 4
Share

Specifically the object is created at the camera's pivot point. If you select an object and press F (sets the camera's pivot point to the object's pivot point), then create an object, the new object will be in the same place as the F'd object.

avatar image GameGuy · Jul 23, 2014 at 11:35 AM 1
Share

@wibble82 Yep this is a nice solution and it make sense. The tip from Lois is great and solves my problem so I will mark your answer as the right one. Thank you guys!

avatar image
4

Answer by eskivor · Jun 01, 2021 at 01:23 PM

In new versions of Unity, since Unity 2020.2, they finally added an option to enable this behaviour (initial empty object position at (0, 0, 0)).

In the Unity Editor, open the Preferences window (Edit -> Preferences) Go to the 'Scene View' tab then in the 'General' section, click on 'Create Objects at Origin' and voilà.

If you don't have this option because you're working with an old version, you can still download the plug-in I published : https://assetstore.unity.com/packages/tools/utilities/empty-at-zero-creator-97576

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to record hideFlags for Undo/Redo 0 Answers

Exposing Enums in Custom Inspector 1 Answer

How to make a serialized editor only field 2 Answers

Is there a Function Callback for when a vairable is altered in the Inspector? 1 Answer

strange results with GUI.DrawTexture() in the editor scene 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges