Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to create 2d or 3d animation files on a live application or during gameplay, is that possible?

Discussion in 'General Discussion' started by jpatinop80, Sep 22, 2017.

  1. jpatinop80

    jpatinop80

    Joined:
    Jul 29, 2012
    Posts:
    55
    Hello dear friends,
    I would like to know if is possible to create a animations files during gameplay? the idea is, I have a 3d Character and I would like to create animation for that character on gameplay, and record that animation same as on animation editor, is that possible during gameplay?
    please let me know, thank you all!!!!
     
  2. mysticfall

    mysticfall

    Joined:
    Aug 9, 2016
    Posts:
    649
    jpatinop80 likes this.
  3. jpatinop80

    jpatinop80

    Joined:
    Jul 29, 2012
    Posts:
    55
    thank you for your answer is pretty accurate.... but I saw this will record all on the scene, is that right? how could I only record character animation? and also it is possible to edit that? like timeline animation? thank you very much!!!
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Sure. You can manually add keys to an animation curve at runtime.
     
  5. jpatinop80

    jpatinop80

    Joined:
    Jul 29, 2012
    Posts:
    55
    Awsome, thank you!!
     
  6. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    6,492
    There is also an asset call Skele on the store.
     
  7. jpatinop80

    jpatinop80

    Joined:
    Jul 29, 2012
    Posts:
    55
    thank you looks good, but only works on Unity Editor, I will need edit and create character animations at runtime while user is playing..
     
  8. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    6,492
    Try Final IK then save each bone's transform and timecode in your specific format.