Questions tagged [unity3d-mecanim]

Mecanim is the Unity game engine’s animation tool, which includes retargetable animations, full control of animation weights at runtime, event calling from within the animation playback, sophisticated state machine hierarchies and transitions, blend shapes for facial animations, and more.

Useful links:

25 questions
0
votes
3 answers

How do I make animation clips run one at a time and not blend together

I have 2D animations for look, walk, and attack -- each with 4 directions -- for a total of 12 animation clips. The animation controller has the following parameters: facing (integer) isMoving (boolean) isAttacking (trigger) I want only one clip…
Ben Rubin
  • 6,909
  • 7
  • 35
  • 82
0
votes
2 answers

Blender to Unity Animation - Jumps In Frames

I decided to try exporting a Blender model in an FBX with animations to Unity. There are two animations, open and close for the top door of this model. Here's the thing - it seems my model likes to jump into the origin of BOTH animations when the…
0
votes
1 answer

Unity 3d to play 2 animations at once

I got the Skeleton model from Unity Asset Store. The model has several animations, including a walking animation. I additionally made an animation of rotation. I need to play the walking animation, then play the animation of the turn, but continued…
starmucks
  • 43
  • 1
  • 9
0
votes
0 answers

Mecanim animation line up with in game logic?

In my top-down RPG, I have several enemies like Goblins, Trolls, Dragons,... Each of them have two variables: baseAttackDuration = float (how long in seconds does attack take, varies between enemies) increasedAttackSpeed = float (attack speed…
Zedd
  • 167
  • 3
  • 16
0
votes
1 answer

What is Blend parameter in Unity Animator?

When I do some changes to my animators, sometimes I notice a float parameter named Blend with value of 0.0 appears in the parameter list of the animator. I think this happens when I change blending mode or weight of a layer. I didn't find any…
Bizhan
  • 16,157
  • 9
  • 63
  • 101
0
votes
2 answers

How to rotate upper body of a first person character (unity)

I'm making a first person RPG game in unity. So, I have an attack animation but it only attacks what's in front of the character. How can I make the animation based off of where the player is looking (For example, if I look up, the character should…
0
votes
2 answers

In Unity, how to prevent animations from messing with the movement?

The problem: I have a character model with a Nav Mesh Agent component. It moves perfectly well to any destination I tell it to move (using the NavMeshAgent.destination property). But this suddenly fails as soon as I use an animation controller I…
user4385532
0
votes
0 answers

Set MecAnim trigger once until state returns

I'm trying to play a single animation once on a character in Unity using MecAnim. I'm really not familiar with any of this, so I might have got the approach completely wrong. The base layer contains a lot of walking stuff, but the animation I'm…
Octopoid
  • 3,507
  • 5
  • 22
  • 43
0
votes
0 answers

How to add (not blend) non-looped animation clip to looped animation with Mecanim?

I have a GameObject with Animator and looped animation clip. This animation changes X coordinate from 0 to 10 and back. I need to add another animation to the first one that increases GameObject's scale and changes its color to red…
Skyblade
  • 2,354
  • 4
  • 25
  • 44
0
votes
2 answers

How can i enable my animations when I press a button without that it wait the other animation? | Mecanim

I am learning how to use the mecanim. In the animator I have 3 animations (idle,Walk and Run) these animations works correctly but the problem is when I press the button W, for example, two seconds pass until the animation (walk) is enabled, because…
Nickels
  • 23
  • 6
1
2