Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 visca_c · Jan 10, 2019 at 04:00 PM · triggertimelinecutscenekeyframe

Using Timeline for cutscene

I'm trying to create cutscene using Timeline, here is the problem i'm facing now. I want to play a cutscene when player steps into a trigger, which will disable player's control and play a Timeline sequence. The problem i'm having is that Timeline will always move player to exact keyframed position when played, but in real-life scenarios, Players will not enter trigger at exact position every single time. So there will be a "jumpy" moment during the play of cutscene, which is what I'm trying to avoid right now. What would be a good solution to this? One idea I have right now is to read from Timeline's playable for the keyframed position of player on the 1st Timeline frame (if that's possible), so everytime player enters trigger, I will use code to move it to exact position then play Timeline.

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 visca_c · Jan 15, 2019 at 04:18 PM 0
Share

what i end up doing is made an startingPoint GameObject, which will be place at same position as the starting position of player in timeline, then move player to that point when steps into a trigger. It's a little bit more manual than being able to read data from playable, but it will do for now.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by seant_unity · Jan 10, 2019 at 04:14 PM

There are a few possible ways to deal with this. You can apply an ease-in on your first clip to blend in the first animation. This may be acceptable where the trigger point and timeline position is relatively small. Another way is to use Scene Offsets (in 2018.3) on the Animation Track. This will start the timeline from the current position, instead of a fixed position. Prior to 2018.3, this behaviour is automatic if the animator has a animation controller. A third option is to author the timeline from the origin, and parent the object at runtime before you play the timeline (or some variation of this) to account for the existing position.

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 NatalieW15 · Aug 22, 2019 at 05:16 PM 0
Share

Could I see some code for this? I'm having a similar but not as far along issue. $$anonymous$$y post for this is here: https://answers.unity.com/questions/1659741/how-do-i-insert-my-cutscene.html

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

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

Related Questions

How to check int value of PlayerPref 1 Answer

Drop down menu trigger'd cutscene 0 Answers

How can I zoom in the curve editor of the timeline vertically? - Change the displayed range... 1 Answer

How to control Tracked Image Prefab - AR Foundation 1 Answer

How to set the duration of a looping animation from the inspector? 5 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