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
1
Question by eheimburg · Apr 04, 2010 at 09:29 PM · assetscaleassetsscalinglerpz

"Lerpz" character's scaling is not respected

Hi, so I'm using the "Lerpz" character (the little robot from the platformer demo) in a new project. He's just a placeholder asset but I'd love to get him working right! Basically he's much too small for the scale of the rest of the world, so I want to scale him up. But it seems buggy.

The obvious thing to do was to change the Lerpz asset's Scale to 100/100/100, making him 100x bigger than default. This looks fine in the editor, he's the right size! But when I hit Play, he mysteriously shrinks back to 1x/1x/1x and is the size of a gnat. When I stop playing, bam, he's back to 100x size. Why does it do this!?

So I put the asset inside a Prefab, and scaled the Prefab instead. This works, but is quite awkward, because in the editor, the prefab shows up as a gigantic (100x too big) robot, while in Play mode he's the right size. So I got him to be the right size in-game, but I would really like to get the actual asset to respect the Scale factor I assign to him. Any ideas?

Thanks!

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by eheimburg · Apr 04, 2010 at 09:34 PM

EDIT: it seems to be caused by Lerpz's animations. They have a "Scale Factor" that overrides the transform, I guess (shouldn't it be applied relative to the transform?!). Unfortunately, I can't just change the Scale Factor to an appropriate size, because then Lerpz gets all mutated.

So no answer yet after all...

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 eheimburg · Apr 04, 2010 at 09:47 PM 0
Share

Actually, I am still stumped by it. It wasn't caused by scripts -- it was caused by having an Animation component on the GameObject that owned the character. When I remove the Animation, ta da, no more scaling. Unfortunately, I don't know why that's a problem...

avatar image eheimburg · Apr 04, 2010 at 09:56 PM 0
Share

Step forward, step backward... changing the "Scale Factor" on Lerpz's animations from .01 to 1 made him the right size (when animations are used). However, now his head is all superdeformed and in his torso! Sigh. So the animations have scaling baked into them and this overrides the transform scaling?

avatar image Tobias · Jun 14, 2010 at 12:27 AM 0
Share

Try to change the scaling size in the prefab import from 0.1 to 1 (FBX Importer plugin in the inspector)

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

Change pixels per unit for an imported asseet, but only on x axis 1 Answer

Can't download Assets 5.4.5p5,Cannot Download Assets 5.4.5p5 0 Answers

Importing custom assets? 0 Answers

Fix assets folder? 0 Answers

Resizing GUI textures 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