Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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


    Dec 16, 2009
    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?