Questions tagged [animation-states]

The tag has no usage guidance.

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

Unity `Animatior.keepAnimatorControllerStateOnDisable` doesn't work properly

I encountered an issue with Unity Animator component. Having 2 states: Normal (default state with no animated fields) Highlight (with animated fields) I call ...
0
votes
0answers
27 views

Delayed rendering of object sprite

I'm trying to replicate an odd feature of an 2.5D online Fighting Game named Grand Chase - that I believe it's is made to hide the latency between players. However, I do not know what exactly is this ...
0
votes
0answers
165 views

Why a method call in OnStateEnter and OnStateExit do not invoke in the correct order?

I have a class that extends from StateMachineBehaviour. All I want to do is invoke some code in a specific state's first frame and the last frame to trigger some ...
0
votes
2answers
210 views

"Invalid call. Nonexistent function 'travel' in base 'Nil'."?

I was perfect as I could possibly be with this code but for some reason every time I try to play the game it just breaks. It says "Invalid call. Nonexistent function 'travel' in base 'Nil'." ...
0
votes
0answers
19 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
1answer
142 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
61 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
79 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
1answer
89 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
587 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
281 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
378 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
6k 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
45 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
206 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
570 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
1k 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
2k 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.
5
votes
1answer
7k 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
420 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 ...