Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 happyt · Mar 03, 2010 at 10:16 AM · transformscalingoffsetcenter

How do I offset the scaling center for a cube

I've tried moving down the Center Y value, but this doesn't do it. How can I move the transform center of an object?

Thanks

Comment
Add comment · Show 3
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 tasbar · Mar 03, 2010 at 10:41 AM 0
Share

$$anonymous$$aybe you can find something useful when you look for the tag/search word "pivot".

avatar image Motionreactor · Mar 03, 2010 at 12:24 PM 1
Share

You can attach it to a parent, give it a relative offset and then scale the parent.

avatar image runevision ♦♦ · Mar 03, 2010 at 02:04 PM 0
Share

$$anonymous$$otionreactor, that comment can work fine as an answer. No need to add comments only when you are providing an actual answer to the question.

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by ericksson · Mar 03, 2010 at 06:54 PM

From the Game Object menu choose Create Empty. In the Hierarchy panel drag the cube you want to scale over the Empty object you created. This will make your cube a child of your Empty object.

Select the cube and adjust its position. Select the parent object and see if your transform gizmo is where you need it. If not, select your cube again and refine your position adjustment until you are happy with it. Then select the parent object and scale it.

Take care that you have to choose Pivot instead of Center (the button immediately to the right of the scale button in the editor).

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

No one has followed this question yet.

Related Questions

Weird Positioning Problem? 1 Answer

transform.localScale causes images won't dispaly 1 Answer

Raycast2D and origin position Offset 1 Answer

Rescaling goes wrong? 0 Answers

How to use animation curve to drive object scale by distance instead of time? 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