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

Newbie Question: Does an Animation truly move the GameObject or is it just for show

Discussion in 'Animation' started by vertig02, Aug 31, 2018.

  1. vertig02

    vertig02

    Joined:
    Nov 30, 2017
    Posts:
    61
    I'm rather new to Unity and even more so to it's animation system. What i wanted to ask was this: When you have an animation play for some object, example a duck out of the way animation or a bend down and pick up animation for a character, when the animation plays does the character (Including Rigidbodies Colliders and whatever) actually move down to where the animation specifies, or is it just for show and the character remains static while the animation plays giving the illusion of moving?
     
  2. witcher101

    witcher101

    Joined:
    Sep 9, 2015
    Posts:
    516
    If you are ducking down then ur char collider wont duck down. You have to code that additionally to work. if you are moving ur char wont move unless u wana use rootmotion. Animation is mostly for show
     
    vertig02 likes this.
  3. vertig02

    vertig02

    Joined:
    Nov 30, 2017
    Posts:
    61
    Ah, so your player really just stays there while an Animation plays in their stead. Ugh, this kind of Animation System would be troublesome to work with. Thanks for the insight though!
     
  4. FiveFingerStudios

    FiveFingerStudios

    Joined:
    Apr 22, 2016
    Posts:
    508
    The actual answer is “it depends”.

    You can have your colliders move with the animation...you just have to parent them to the bones.

    Also, there are two types of animation....in place and rootmotion.

    In place doesn’t move the character, while rootmotion does.
     
    vertig02 likes this.