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
0
Question by Aniraf · Feb 25, 2011 at 07:07 AM · scaleresizeprimitive

Simple primative stretching

Is there a way for me to create a primitive, like a cylinder, then stretch just one of the ends effectively making the entire object longer, while maintaining the same base?

If for example I wanted to create a hose, where clicking a button resulted in the hose going linger or shorter.

Sorry, I'm a noob. I can't seem to find the basics of object manipulation beyond position and scale.

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
0
Best Answer

Answer by Aniraf · Feb 27, 2011 at 05:35 PM

I found my own answer after some hard searching! Turns out that Unity does not offer this ability from within the editor...I'm really not certain why as this seems like a very basic part of a 3D game engine, but what do I know...I'm a noob to this :).

Anyway, it turns out this guy "VoxelBoy" wrote an addin which handles this exactly like I would expect.

His page is here: http://x.co/RpLg.

It only took me about 5 seconds to get it installed and configured!

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
1

Answer by Jessy · Feb 25, 2011 at 12:25 PM

Yes. You could scale in one dimension. You just need to model with the right pivot point (local origin). The Unity cylinder, for example, has its pivot point in its center of mass. That of course doesn't give you the result you want. You'll need to model a cylinder with its pivot point at its base, instead.

Comment
Add comment · Show 3 · 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 Aniraf · Feb 27, 2011 at 05:17 PM 0
Share

Where can you edit the pivot point? Do you have to do this in code? I assumed there would be something in the interface. Thanks again!

avatar image Jessy · Feb 27, 2011 at 05:34 PM 0
Share

You move the pivot point in a modeling app; it's part of a model file, so being able to change it in Unity wouldn't make any sense for anything but the built-in primitives. And it takes under a $$anonymous$$ute to model your own primitive in a modeling app, so that would be a waste.

avatar image Aniraf · Feb 27, 2011 at 05:38 PM 0
Share

Ya, I understand that now...It just seems like a waste of time for me to create primitives in a modeling application. I'm trying to stub out the look and feel for my game using basic blocks...my designer will do the modeling later. I figured I could just simply do this on my own without any 3D modeling tools. The addon I posted below does exactly what I need.

Thanks!

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

Can I scale an animation with a model? 3 Answers

Get scale of instantiated prefab and resize 1 Answer

Resize GameObject and Keep it aligned to the left 0 Answers

Resizing an object? 2 Answers

2D Gameobject size not scale as per sreen-resolutin.,I trying to make jumping ball blast game. and i have all most done in 1080*1980 resolution. 0 Answers


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