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 Xdy · Jan 19, 2013 at 10:39 AM · places

my object move to another place after hitting play

my vehicle with scripts attached move to different place than what i have positioned them after I hit play button

whats the problem?

Comment
Add comment · Show 1
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 kat0r · Jan 19, 2013 at 03:31 PM 0
Share

Does your Object move, or just the camera, as the play mode uses the camera in your scene, not the one from the editor?

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Loius · Jan 19, 2013 at 06:11 PM

There's an animation attached to your vehicle. Animations contain positional data, so you have to either remove the position animation in your modeling program, or you have to make the vehicle a child of another object, and move the parent instead of the vehicle.

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
0

Answer by Xdy · Jan 20, 2013 at 07:33 AM

Sorry, I have already done this before only forgotten and now I have remembered here is the solution:

Eventhough you have delete the animation the problem still occur, its all lies on parent because no matter where the child object positioned it will move accordance to where parent been positioned after you hitting hitting play. You have to positioned the parent same as child or where you choice is because it will regard the child position anyway.

Well at least that is in my case

For example if the tyre is child to car body but the tyre has its own script it will make the tyre its own parent and as this problem occur to tyre only it will disturb along car body positioned too

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
0

Answer by dberbia · Jan 16, 2017 at 03:02 PM

I'm not entirely sure what I did to make it work..

I went back to maya, copied the animations first then deleted the animations, made my object larger, freeze transforms, paste back the animations, made a cube named Parent at 0,0,0 and placed my object as a child inside of Parent.

Exported again, deleted the old stuff from unity, then reimported the object, made it legacy in the settings, then placed it and resized it accordingly and it plays as its meant to without resizing and repositiong.

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

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Player starts instantiate at random places? 3 Answers

Random Player Respawn Points 3 Answers

Shown decimal places 2 Answers

Round to decimals 2 Answers

"REQUEST_DENIED" with Google Places API 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