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 oliver-jones · Nov 14, 2010 at 03:27 AM · animation3dpositionplaycinema4d

Animation Play Problem (Att: Video Example)

Hello,

I have a simple animation of a rifle that recoils I made in Cinema 4D (modelled and animated). When I bring it into Unity and place it within my Player Control and hit Play, the model 'snaps' into a different place in where I didn't intend to place it.

Watch my Screen Cast Video to get a better understanding. You will notice that my rifle changes position every time I hit play (this only occurs when I add animation to the position of the model in Cinema 4D - its as if its using global coordinates for the animation -- I think??)

www.olliejones.com/help.mov

Please help

Thanks, Ollie

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

Answer by Mike 3 · Nov 14, 2010 at 01:46 PM

The issue is that you're changing the position of the root bone in the animation, whichis used for setting the global position via animation

What you could do if you need to move that bone is add another fake bone as parent to it, of which you'll never touch the rotation/position of. You'll have to remake any prefabs which contain your model if you do it that way though, as the prefab remembers which bones it was using from the model

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 oliver-jones · Nov 14, 2010 at 02:37 PM 0
Share

Right .... I'm sightly new at all this. What exactly do you mean by 'bone; - is this something done in Cinema 4D or Unity?

Also I added the animation to the parent due to the fact that there are a lot of models within it that need animating and I don't want to go to every part of the rifle and animate it EG:

Parent : SIG Rifle (this holds the animation) Child: $$anonymous$$uzzle Child: Stock Child: Sight.....

Hope that makes sense...

Thanks, Ollie

avatar image oliver-jones · Nov 14, 2010 at 02:43 PM 0
Share

I may have fixed it -- In Cinema 4D I placed everything into a Null Object (which has no animation) and it appears to be working fine -- Thanks $$anonymous$$ike!

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

Cinema 4d to unity (Transform/position) 1 Answer

Why does Parented FBX keep transforming to 0,0,0 when i press play? 1 Answer

Animation won't play when changing position 0 Answers

Play Animation With GetKey 1 Answer

How to make an animation moving with Sprite Manager 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