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
2
Question by HenryGarle · Feb 04, 2015 at 06:59 AM · animationplaybackrecord

Mecanim recording

I've been looking into recording gameplay and being able to replay it back within the game its self. I have a solution fully working for everything that isn't the mecanim player but due to the complexity of the player a simple position and rotation is in no way good enough. I found in the documentation (And a unity example) the use of these methods on the animator:

http://docs.unity3d.com/ScriptReference/Animator.StartRecording.html http://docs.unity3d.com/ScriptReference/Animator.StartPlayback.html

At the bottom of StartPlayback it mentions "PlaybackRecordedFrame should be used to playback recorded data." but I cant see any way of actually exporting the recordings in some way to be reused (Or any mention of PlaybackRecordedFrame anywhere else)

Is there something I am missing or am I going to need to record user input, play it back in order and use some key frames to ensure it stays synced up?

Any help would be greatly appreciated!

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

Answer by GameVortex · Feb 04, 2015 at 07:58 AM

I can't find any other references to the "PlaybackRecordedFrame" either, and I suspect it has been removed or renamed. There is no way to export the recorded data. The data is stored in the Animator at runtime. You start the recording with the StartRecording function and then stop the recording with the StopRecording function. You can now play the recording using the StartPlayback function and control the location of the playback with the playbackTime value. The playbackTime value will be in a range between recorderStartTime and recorderStopTime.

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 HenryGarle · Feb 04, 2015 at 11:58 AM 0
Share

I feared it may have been something that was never implemented which is a real shame. The playback system its self works REALLY well, it seems crazy to me that you couldn't just dump that data out! Thanks for your answer :)

avatar image petey HenryGarle · Aug 26, 2017 at 10:41 AM 0
Share

Noooooo! Why would they do that? :( The implementation is really nice and simple but not having this option is a huge bummer.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How do you add an animation to an imported 3D model? 1 Answer

Can the animation editor create local rotational data? 3 Answers

How to Record or Play an animation backwards 1 Answer

Adding animation clips via script 2 Answers

Driving 4.3 Animator with custom playback speed 0 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