• 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 GutoThomas · Jan 27, 2012 at 09:29 PM · positionrigarmaturechanging

Armature position changing after start the game

So, my problem is the following. I bring a riggged model from blender to Unity in order to test some scripts. After import it I reset the position of armature and mesh to 0, 0, 0 but when I start the game, my animation starts in a place a little far from the position where the armature is putted on. Why is the position changing when I start the game? I don't want this. Someone can help me with it?

*When I watch the transform properties of the armature and hit the Play Button I can see the position and rotation changing, like if some IPO curve was putted on the armature.

Thanks from now!

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

Answer by GutoThomas · Jan 30, 2012 at 08:52 AM

Thanks for the reply. I removed the component from the GO and attached it again but it didn't work. When I disabled the option "Play Automatically" the armature's position didn't move, so it seems to be a problem with the animations. I tried to adjust the position within the Start void but it didn't work too. In Blender, I removed an Ipo Curve in the armature but in Unity it didn't make any effect.

*When I just drag my character into the scene and press start, without changing his position, he just execute his animation in place, without go to another location.

Hope you can understand my poor English, I'm Brazilian. (:

If you have anny sugestion, I'm already thankful.

Comment
Add comment · Show 2 · 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 Thom Denick · Jan 30, 2012 at 03:47 PM 0
Share

Your English is fine! Unfortunately it looks like this is a problem with your 3D Program/workflow. I'd open a new Question (or search for previous questions) specifically about importing animations from your particular 3D program. Unfortunately, that's outside of my knowledge range.

avatar image GutoThomas · Jan 31, 2012 at 01:30 AM 0
Share

Thanks for all the help, I'll look for older topics about it ou open a new one. :D

avatar image
0

Answer by Thom Denick · Jan 27, 2012 at 10:19 PM

This is probably because you have an errant animation on the GO. Remove all animation components from your prefab and see if that resolves it. (This has driven me crazy several times in the past.)

Comment
Add comment · Show 2 · 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 GutoThomas · Jan 30, 2012 at 02:56 AM 0
Share

Smorpheus, thanks for the comment but now comes de newbie question. What you mean by GO? And how can I delete an animation from the prefab? If you could answer me this questions I'll be thankfull! Thanks from now!

avatar image Thom Denick · Jan 30, 2012 at 06:05 AM 0
Share

GO just means "GameObject" which is everything in your scene view. Find your model in the scene. Click on it. Look in the INspector and you should see a component called "Animation." Unity automatically adds this component when you drag it into a scene. Right click on Animation and select "Remove Component." If my theory is right, that should fix your problem. If not, it's probably a script somewhere in your project setting your model's position on Awake/Start

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

Update armature position after an animation with movement 2 Answers

How to bind two gameobjects together? 2 Answers

attaching armor to bone in proper position !!! help! 2 Answers

Simple 'drag' on armature 1 Answer

imported model changing position on pressing play problem 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