All Questions
487
questions
-1
votes
0
answers
26
views
Unity 2D animation lagging and skipping frames
I am making a game in unity 2d, and i was starting to implement some animation when I ran into this problem. For some reason, my character's animation started to skip frames(about 12 i think) and I ...
0
votes
1
answer
47
views
Character does not move in Unity
I wrote the code in Unity hoping that the character can move in all directions in two dimensions if I press the direction key. (If I press the shift key, it moves fast.) However, after writing the ...
0
votes
0
answers
16
views
Animation froze midway through animation in unity 3d
This occured after I had finished all the movement and animation in unity for this. Just midway through the animation you have your player running in a weird way with his leg up and other leg diagnol ...
-1
votes
1
answer
34
views
Unity 3D animated player is moving away from its parent object transform
Whenever I continue moving my player around in Unity 3D, the radius between the player model transform and parent transform increases. I believe this is because of my animator because this wasn't ...
2
votes
1
answer
65
views
How to disable animation after SetActive(true) in Unity?
I have an animated UI obj (A button) that plays the animation (is switching sprites, between sprite1 and sprite2) after a certain condition, after the button is pressed the sprite of the button ...
1
vote
2
answers
72
views
Animating a GameObject with Nav Mesh Agent with idle animation - Unity 3d
I have a Unity Assets store imported GameObject named Zombie1 with a Nav Mesh Agent component set and a Animator component (screenshot: ), and a animation named Z_Idle. I would like to implement the ...
1
vote
0
answers
35
views
My game wont acknowledge my animator and is giving me no errors
In unity when I have it made so when my camera collider interacts with an object I get the option and ability to interact with it. I already set up the animator and put a trigger called press. When I ...
1
vote
1
answer
68
views
How to correctly add animation for a rotating object with Script in unity?
I have the following structure of my Turret:
Turret -> Body -> Head
The Body rotates by Y and Head rotating by X via script to a moving target, I have created simple Idle animation for turret ...
1
vote
0
answers
27
views
Animation not transitioning Unity
so I’m kind of new to Unity and I’m making a top down 2D shooting game. I’m trying to make my character play the death animation when he dies but for some reason it doesn’t transition. I tried using ...
1
vote
0
answers
31
views
Can't attach animation after creating one through script in Unity
I'm supposed to create an animation for a specific object in Unity using C#. Therefore, the object has a component with the following parameters:
The animation clips were successfully generated and ...
0
votes
1
answer
42
views
While function to check if animation is running crashing Unity
I'm working on a two player fighting game, where one player can hit the other player. All hits are marked as a strike or a grab, and when an opponent is hit with a grab I want the opponent to follow ...
0
votes
1
answer
54
views
Problem with Unity jump animation when using BoxCast for ground detection
I am developing an endless runner platformer game for android devices and i have a problem. I am using BoxCast for ground detection and animations are not working correctly. Also sometimes at the ...
-1
votes
1
answer
65
views
How to implement this Desmos roll function in Unity
I was looking for a way to create a roll out effect just like this in a 2D Unity project
https://www.desmos.com/calculator/mrfrugwvm5
The problem is I'm not that goot at math, so I'm not sure how to ...
0
votes
0
answers
32
views
Animation is lagging and stopping
It's a 2D platformer game. Animations transitions were set up in the Animator window, but unfortunately, when the player encounters an obstacle, the animation stops. What could be the reason?
There is ...
0
votes
0
answers
32
views
Animation bug with NavMeshAgent in 2D game(using NavMeshPlus)
The animation begins to quickly switch during corner passages. Most likely, the problem is that the values change too quickly. However, I can't understand how to fix this (In code or animator).
...