Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

How to handle strafing?

Discussion in 'Animation' started by Lethn, Nov 8, 2018.

  1. Lethn

    Lethn

    Joined:
    May 18, 2015
    Posts:
    850
    I've got myself a bit of an interesting problem to work out, I'm playing around with human animations and I want to allow for quite a bit of freedom with the movement one thing I want to do is allow for some decent strafing behaviour. I've got the animation working but there's a problem that I'm thinking about, if you loop the strafing animation despite the body moving to the right the positioning will snap back after it's finished.

    Now the obvious answer to this is to use code to position the character as the strafing animation plays but I'm not 100% sure how I'd implement it and make it look natural, would anyone mind sharing with me good ways of doing it?