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 Kaze_Senshi · Feb 13, 2012 at 12:46 AM · importscalefbxbox collider

Child prefab Scale on inspector becoming( 1,1,1) while playing

Hello guys, I am with a strange problem. As I always make, I create a empty object and put the animation prefab inside of it to make the object independent from the animation part. So this is working well, the parent prefab always have scale (1,1,1) and the animation I can change its parameters freely.

The problem is I am importing a cube from blender to unity. In the level editor it is ok, I change the scale to (50,100,100) and it seems fine. When I press the play button, this animation scale becomes (1,1,1) almost disappearing.

This object doesn`t have any script, it is just a square ground with a box collider on its parent, can some1 help me. Importing things to unity is harder than code :P

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 Kaze_Senshi · Mar 31, 2012 at 02:30 AM

Well, solved the problem putting the mesh inside of an empty object and scaling this object instead of mesh.

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 Peter G · Feb 13, 2012 at 02:20 AM

It sounds like you've identified your problem already. The animation itself doesn't have a scale, but the transform does. Animation objects store a number of things, but one of which is the Transform information. The transform includes the scale. The animation you have on your object probably includes keyframes setting the scale of the object.

The best fix is to create a copy of your file in Unity to edit with the built-in animation editor (Unity won't let you edit original files with the editor) Delete the scale curves and you should be free to scale it however you want.

Comment
Add comment · Show 5 · 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 Kaze_Senshi · Feb 13, 2012 at 02:43 AM 0
Share

Hi, well my cube does not have an animation, it is just a cube with a UV map that I want to make work like a ground. Anyway I openned the animation editor, in the Scale.x, Scale.y and Scale.z there is just a line with two points at 0.01 and 0.02 seconds, these points does not change the curve, so it is a straight line starting at (0.01, 0.01) and going to the right.

I can't select these points, so I think there is no curve because there is no animations. Any idea? Thanks for the answer.

avatar image Peter G · Feb 13, 2012 at 02:47 AM 0
Share

Hmmmm, what's the animation that you mention in your explanation then. I must have misunderstood something.

avatar image Kaze_Senshi · Feb 13, 2012 at 09:33 AM 0
Share

The "animation" that I was saying is just the fbx imported to unity, I think that the correct word would be the "mesh", as the animations are inside of it.

avatar image Peter G · Feb 15, 2012 at 03:24 AM 0
Share

Unfortunately, your ter$$anonymous$$ology is still not correct. Unity doesn't store any animation data in the mesh itself. The mesh stores the bone bindings, but that's it. Its up to the animation component to play the animations.

This sounds so much like an Animation problem I'm a little stumped. So there are no animation components on ANY of the game objects?

avatar image Kaze_Senshi · Feb 15, 2012 at 02:40 PM 0
Share

Ops, anyway the object that is having this problem has no animations. I realized that if I change the scale factor in the fbx importer inspector, the object size becomes O$$anonymous$$. But I really want to only change the scale in the object inspector. If you know something, let me know, thank you again.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

FBX import scale factor issue 1 Answer

Objects from Blender (FBX Exported) are scaled wrong. 4 Answers

Maya fbx to unity scale problem 1 Answer

When I press play, all my static fbx meshes relocate to random locations... any ideas why? 2 Answers

Scale and max 2011 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