Forum rules - please read before posting.
Tech questions during the weekend? Drop in on the community Discord channel!

First Person Camera - Animation Controller

Hi,

I have a little problem, I started to set my animation controller in FPS mode to my Player. I try to set the movement direction parameter at my controller, but I'm missing it from the Player/Mecanim Parameters. I would like to set that, if I walk left -> walking left animation, walk right -> walking right animation, walk diagonally left -> other animation etc....so I couldn't find the direction parameter. Maybe i'm a little bit starter in this area of the AC. So if somebody has a good comment/help, please help me! Thank you!:)

Comments

  • You're referring to strafing animations, I take it.

    See this page in the AC wiki:
    https://adventure-creator.fandom.com/wiki/First_Person_speed_parameters

  • Ohh yes, I thought for it exactly, I'm glad for this extension.:))) Thank you!

    I would have an other question: I make an adventure game now (mostly with Third Person Controller), and I have swimming area. I know I should change character controller when I'm in the water. Can you give me please some advice, how should I set that, my character stays on water's surface when swimming and when it goes underwater?

  • edited February 11

    Typically you use Animator parameters (e.g. Bool) in your Controller, coupled with transitions, to determine which Animations get run.

    For example, an "Is underwater" bool parameter would be used to cause "swimming" animations to play when true, and regular idle/walk animations when false.

    This isn't specific to AC, though. This kind of topic is covered in detail on the Unity forums. However, you can use AC's Character: Animate Action to change parameter values when e.g. entering a Trigger.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.
Do NOT follow this link or you will be banned from the site!