Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by bradford · Jun 01, 2019 at 05:38 PM · editorcustom editortransforms

Can I get the transform widget to center on the mesh, instead of the object origin?

Just to be clear on definitions, when I say 'transform widget', I'm referring to the this thing (not sure what the proper name of it is): alt text

When selecting a mesh object, the widget appears at the objects origin (<0,0,0> in mesh space), which works fine in most cases. However, I'm in a situation where I'm working with meshes that are significantly offset from the origin, and the position of the widget is making it very hard to edit animations.

Is their anyway to configure the widget position? For example, blender let's me position the widget at either the mesh origin, or at the center of existing vertices. Using the latter option would help me in this case.

questions:

  • I couldn't find an obvious way to change this in the project settings, am I missing something?

  • Is their a marketplace asset that I could use?

  • If this behavior isn't available, can I get a confirmation, just so that I, and the community, are aware?

capture.png (9.1 kB)
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
1
Best Answer

Answer by bradford · Jun 02, 2019 at 03:36 PM

The 'Gizmo handle position toggles' section on the page linked by Bunny83 contains information that I was looking for.


The "Toggle Tool Handle Position" button can switch between 'Pivot' and 'Center'. When 'Center' is selected, the tool handle is placed at the center of the selected object.


The "Toggle Tool Handle Rotation" also let's you change the center of rotation between 'Local' and 'Global'.

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
avatar image
0

Answer by Bunny83 · Jun 01, 2019 at 11:43 PM

First of all the pivot / origin of a mesh will always be where it has been defined. Unity is not a modelling tool. So no, you can not change the "pivot". Actually the pivot isn't really a thing. It's actually the other way round. All vertices are defined relative to the origin. Changing the pivot means moving all vertices in the opposite direction.


However inside the Unity editor you can define where the gizmo handles are displayed in the scene view. Note that changing the "Gizmo handle position toggles" from pivot to center does only change where the gizmos will be displayed. The actual object pivot will stay where it is.


A common solution, espectially if you need the pivot at a certain point for script access, is to create a new empty gameobject and make your actual object a child of that gameobject. Now you can position the object inside the empty gameobject the way you like so the new parent object will become the new root object.

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

143 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 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 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 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 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 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

Custom editor script for folders? 1 Answer

How do I access the "Edit Collider" function from the inspector in a custom editor. 1 Answer

Custom Editor applies changes to every instance of the component/class its for, how do I fix this to modify the target instance component only? 0 Answers

EditorWindow: How to Serialize variables after PLay 1 Answer

How to allocate layout region inside the inspector? 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