Questions tagged [animation-states]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Unity Animator not properly following animation transitions

I have an Animator that has 3 different states. Walking, Climbing, and End of Climb. The diagram is shown below: I have 2 bools, isClimbing and ...
0
votes
0answers
18 views

Check if Animation State exists before playing it

In Legacy Animation Component of Unity Engine, I want to check if a specific Animation Clip exists in Animation Componenet, or not. ...
0
votes
1answer
46 views

Animator State does not switch immediately through code, even tho all transitions have “Has Exit Time” checked off

first of all, this is my code, I'm prototyping a state machine using Unity Animator (First Time) and I'm stuck coding a simple burst of speed. ...
1
vote
1answer
28 views

What does 'AlwaysResetOnEntry' do, and where would it be used?

In Unreal Animation Blueprints, each state has an option for AlwaysResetOnEntry. The tooltip text for this is: ...
1
vote
1answer
30 views

How to instantiate new GameObject at position of old GameObject onAnimationComplete

I have a GameObject that is a Farmer that plants Seeds. The Seeds will animate into Plants. Once that animation is complete, I'd like to replace my Seed with a Plant. This happens hundreds of times ...
0
votes
0answers
12 views

Dynamic Sequence FBX Animation Generation

I have a project that will generate a sequence of animation which is a sign language gesture based on the input text from the user. I already figured how to use mecanim but it will be difficult if I ...
0
votes
1answer
44 views

Coroutine constantly updating animator transition

I have a problem for a while now and I am running out of ideas: I have a made a coroutine used to implement animations in the attacks, something like this ...
0
votes
1answer
48 views

How can I restart an animation?

The first time the player clicks a button, my animation plays properly. The problem is that when the player presses the button a second time, the animation does not play. Here is the code I'm using ...
0
votes
1answer
184 views

In Cricket games, how is the ball synced with batsman's shot animation? How does the ball hit right at the center of the bat? How does this work?

I've been trying to figure this out for quite some time now. In Cricket games, when the bowler bowls, and batsman takes a shot, how does the ball sync with batsman's shot animation? For example, let'...
2
votes
1answer
216 views

How to get an axe chopping animation to stop on collision with tree and smoothly go back to idle state?

Been stuck on this one for a few days. I have an axe that moves around with the mouse. When the mouse is in range of a tree, you can left click to start the axe swing animation. Once the animation ...
2
votes
3answers
3k views

Can't get the current animation state name (hash or .IsName) to work

I have some hard times trying to get the current animation state name in Unity, to perform specific actions while I'm in a certain state. I want to know when I'm the "ThoughtsStill" state, I only have ...
0
votes
1answer
41 views

Problems with Unity3D Animator controller states

I have an object (a simple card) equipped with the Rigidbody, Collider and Animator components. In particular, Animator performs two simple clips: Cover and Uncover that rotates the card 180 degrees. ...
1
vote
0answers
137 views

Possible to use StateMachineBehaviour with Blend Trees?

One of the touted benefits of the StateMachineBehaviours is adding a sound hook to an animation state. That sounds great! Unfortunately, I'm not sure how I could do ...
1
vote
0answers
302 views

Parameter 'Blend' doesnt exist

I want to animate my character, but i got this error: Parameter 'Blend' doesnt exist. if i use 1d Blend Type it works fine no bug nothing. But if i change the Blend type in the animation panel ...
0
votes
3answers
915 views

How to make a door stay open if the player is inside the trigger zone?

I've been struggling with this for all day long, I want to make a door to stay open when the player is inside the trigger zone, but I cannot make it happen... Here is what I did: A basic animations ...
0
votes
1answer
1k views

Change animation speed through the editor in Unity

How can I change the speed of the animation through the editor if I have the following animation structure? I would like Adult1@walk to play faster.
4
votes
1answer
5k views

Unity3d - Immediately force transition without waiting until current animation ends

I created a animation Controller and attached it to the Animator component of my main camera. My Animation Controller looks like this: I am building a Main Menue. If the user presses on the buttons, ...
0
votes
0answers
406 views

Play animation state's clip from particular time or fram

I have a controller where i have a animation state. I want to play that animation clip from specified frame to specifed end frame. is this possible? here is the snap shot of the controller currently ...