License from €75
DE EN FR ES IT CZ

Problem with Idle animation (random character animation)

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 7 years ago
    Hello everybody!

    I have a problem with an idle animataion which I created for NPC (not a main character).

    I created "idle" under "random animations".
    That animation is about 2 frames.

    But the animation never shows in the scene.
    Talking animation works.
    NPC just stand on the place.

    So my question is: How to start random animation? Did I miss something?

    Thank you.
    • Image in post
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 7 years ago
    Random animations occur randomly every 10-30 seconds (by default if I remember correctly) providing the character/npc has not been issued any destinations, isn't walking, isn't talking, or isn't playing any manually started animations.

    Idle animations are supposed to go in "standing animations".

    Random animations are for things such as the character blinking or scratching their head, or shuffling around on their feet, etc.
  4. · 7 years ago
    Random animations occur randomly every 10-30 seconds (by default if I remember correctly) providing the character/npc has not been issued any destinations, isn't walking, isn't talking, or isn't playing any manually started animations.

    Idle animations are supposed to go in "standing animations".

    Random animations are for things such as the character blinking or scratching their head, or shuffling around on their feet, etc.
    Thank you.
    Yeah, thats exactly what I thinking.
    Idle is for me animation like blinking eyes.
    Do you know where I can change that time?
    Thank you.

  5. · 7 years ago
    Unfortunately the only way to change those values are via scripting & you have to sort them out for each characters outfits.

    Characters["Tom"].CurrentOutfit.RandomMinTime = 1000 -- 1 seconds
    
    Characters["Tom"].CurrentOutfit.RandomMaxTime = 3000 -- 3 seconds

    You can manually specify each outfit too instead of just the current outfit.

    It's also possible to implement the animation frames inside of your actual idle animation frames & control which animation frame range to loop - also done via scripting.

    Here's a tutorial I created a while back for creating dynamic character blinking using the latter method I just mentioned.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?