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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Animator controller turn character

Discussion in 'Animation' started by beybi123, Jan 24, 2018.

  1. beybi123

    beybi123

    Joined:
    Oct 26, 2016
    Posts:
    25
    Hello.I want to able to turn my character right,left and back.Which variables and transitions I need to create to achieve this this.Thanks!Note that my animations are in place(no root animations).
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Usually 'turns' are driven by the motion of the animation from input, rather than code.
    What have you tried so far? Have you reviewed the learning material on animation?
     
  3. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,383
    If you aren't using Root Motion then then it's probably not going to do what you expect. Can you explain what you're trying to do and how it's setup?
     
  4. beybi123

    beybi123

    Joined:
    Oct 26, 2016
    Posts:
    25
    Thanks for the reply.I tried checking Unity mechanim tutorial on assetstore.On animator controller there is a variable called 'direction'.With this direction and speed variables 'PlantNturnright', 'PlantNturnleft' and 'TurnOnspot' blend trees are called.I tried to implement my own direction but couldn't really do it.