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. Dismiss Notice

Suggestions needed PHYSICAL ANIMATIONS IN CODE

Discussion in 'Scripting' started by justingalaxy25, Oct 31, 2020.

  1. justingalaxy25

    justingalaxy25

    Joined:
    Oct 1, 2019
    Posts:
    11
    Ok so I want to make physical animations so the charector is extremely realistic. I have decided to reach this in code maybe using bone motors? From the bone motor asset. Anyways what is the best way to do this anyone want to post an example of a walk animation? use for loops to animate the transform and quad? Post your suggestions and even code if you have. :3

    I am thinking some animation and some physics added with code? sound good? Might use the bone motor controller as mentioned above. :3
     
    Last edited: Oct 31, 2020
  2. Yoreki

    Yoreki

    Joined:
    Apr 10, 2019
    Posts:
    2,590
    I'm not even quite sure what you are attempting to do. Proceural animation? Root animation? An animated ragdoll? Maybe i'm just not familiar enough with the topic, but even with a quick search i was not able to find anything called physical animations.
    The Bone Controller asset seems like a good approach for more realistic animations. What else do you want to add? You are talking about physics, but for most intents and purposes physics and animations are separate things. Your character is affected by physics if you want it to. But how would you like physics to affect the animation itself?
     
  3. justingalaxy25

    justingalaxy25

    Joined:
    Oct 1, 2019
    Posts:
    11
    Procedural animation done within code so a animated ragdoll but way more.... controllable.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    Controllable? Oh for sure, see the QWOP game. :)

    Seriously, that's a 2D treatment of bone-driven physics. You could make one that is actually intentionally more controllable.
     
  5. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,723
    I can't say I know how they did it but TABS uses what they call a "Physics Animation System". I haven't found a lot of information on it but is that kind of what you're interested in?
     
  6. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    Do a google with "unity active ragdoll" - that's what those are sometimes called... and you'll find some videos at least.