Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Can I change the values of an animation curve while the game is running?

Discussion in 'Animation' started by mojojojo, Feb 27, 2014.

  1. mojojojo

    mojojojo

    Joined:
    Dec 16, 2009
    Posts:
    138
    I want to have an animation continuously running but change the values on the curve w/ a gui. I have a boat floating on the water driven by an animation. I want to have the wave height change from a GUI slider and then have the boat wobble change accordingly. Ultimately I'll read in data from several csv files and interpolate between them the wobble charictaristics. Right now I can set this up w/ an animation but have had the darndest time trying to get the model to move appropriately w/o animation keys. So, short story long, can I make a dynamic animation?