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
1
Question by Hellium · Feb 10, 2015 at 11:50 PM · animation editor

Editing animations of distinct gameobjects simultaneously

Hello everyone ! :)

I would like to make an animation of two distinct objects for a cutscene. I want to animate a vehicule moving in the scene and the camera which will look at my vehicule. I have already made the vehicule's animation.

I was wondering if I had the possibility to preview simultaneously the animation of my vehicule and the animation of my camera. Thus, I will be able to edit the camera's animation so as to keep my vehicule in the field of view of my camera for example.

I don't want to use the LookAt function within a script. I would like to launch the animations from the editor, with the ► button of the Animation window (if possible) :

Animation Editor

Thank you in advance !

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
1

Answer by herDev · Jan 17, 2017 at 08:27 AM

Hi! While this might not work in certain circumstances (depending on the object structuring needs for your project).. If you create an empty gameobject and place the camera and vehicle inside it as children, you can then create an animation clip on the parent object and the parameters for both the camera and vehicle will be exposed in the animation clip too. This way you can preview them together.

Hope that helps!

Comment
Add comment · Show 1 · 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 Hellium · Jan 17, 2017 at 09:08 AM 0
Share

$$anonymous$$mh, not a bad idea. Even if it could break the hierarchy, it's possible to do as follow :

  1. Create a parent (in (0, 0, 0), attach the vehicle and camera

  2. Create an animation on the parent and animate both children objects simultaneously

  3. For each child, copy the animation keys, detach the child, create an animation clip for the child, paste the copied keys

It's really hard work for this ! But thanks for the suggestion !

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

19 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Smoothing Animation Curve when looping 0 Answers

Need Help With Animations! In C# 2 Answers

Unlock Animation Keyframe Tangent Length? 0 Answers

Procedurally generate AnimationClip at runtime 3 Answers

How to make mecanim animation stay at player's position 3 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