Questions tagged [animation]

The simulation of an in-game entity's motion, such as running or sitting or striking.

Filter by
Sorted by
Tagged with
0
votes
1answer
578 views

Unity - Blend tree weird transition

I have duplicated the blend tree from the ThirdPersonCharacter (Ethan) which comes with the Standard Assets package. In the duplicate I went into the blend tree and swapped out the walk animation "...
0
votes
1answer
692 views

Convert the animation inside FBX into Unity

Recently i bought a package with an fbx and lots of animations. Since I want full control and change a couple of details, I want to convert them into the regular Unities Animation System. I cant ...
1
vote
0answers
186 views

Unity - warning: animations neck and head have scale

I always get this warning if I import my model to unity: ...
0
votes
1answer
164 views

Animation after enemy spawns

right now in my game, four enemies spawn in four spawn points with a delay, but what I want to do is that if you don't kill the enemy after a couple seconds, an animation (it's an animation of a ...
2
votes
1answer
67 views

How to achieve single animation for different charcters?

I've been playing a game called Marvel Contesnt of Champions for android. In that game two opponent fights with each other in most 2D view but the game is developed in 3D. Each character has their own ...
0
votes
1answer
171 views

Iterating through all animator layers in Unity Mecanim

I'm aware of how SetAnimatorLayerWeight works, I'm looking for a way to iterate through all layers of my controller at runtime. I've four layers and expect more, and need to update them at once, in ...
4
votes
3answers
2k views

Is there an easier way to get sprites from a spritesheet

One issue I have when working with API's such as Monogame and SFML unlike with Game Engines like Unity and Unreal is trying to extract sprites from a spritesheet. I know the method of doing it but it ...
0
votes
1answer
186 views

How can i access animation from animator in unity3D

I want to perform some specific functionalities if my character is in Idle state and IdleUnarmed animation is playing and !anyKeyDown. I do not know how to access that "IdleUnarmed" animation from ...
1
vote
1answer
352 views

What is the difference between body transform and root transform

I am learning about Root animation and here come two terms, one is root transform and Body transform. As name suggests that body transform is the character body but what is root transform? and what is ...
0
votes
0answers
126 views

Turn and point Animation not ending in correct position

I have Right Turn, Point & talk Mixamo animation. I am playing animation in this order Play Idle animation Turn animation Point Animation Then, run Turn animation again with - speed to bring it ...
0
votes
0answers
2k views

Animator.SetTrigger does not trigger an Animation

I have a basic animator setup for my Unity Character which has a "block" functionality when pressing the E key. So far, so good. However I've made a transition from "Blocking Idle" to "...
-1
votes
1answer
908 views

2D sprite is 'blinking' when animation is playing

When I fire a bullet, instead of frames 4 and 6, the sprite selector in the sprite renderer component says "Missing (Sprite)" and 'blinks' for a frame, not showing anything.
0
votes
2answers
214 views

Animation Change Delay When Landing On Ground

I am working on a 2d platformer-like game in Unity. My problem is that when my player character jumps and lands back on the ground, there is a slight delay at times when transitioning to the player ...
1
vote
1answer
795 views

Unity3d - Find out if current animator animation is playing?

I need to call a function immediately after animator animation finished playing, I know I could solve this by adding an event to my animation, but I try it without. How can I find out if the current ...
3
votes
1answer
3k 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, ...
1
vote
1answer
314 views

MCS character mouth open - is this mo cap animation problem?

I have MCS Female Character where I can assigned Mocap to my character. I have downloaded mixamo animation and assigned this to the character but the problem is, the character mouth remains open. I am ...
0
votes
0answers
369 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 ...
-1
votes
1answer
417 views

DirectX poor Sprite Performance

I render an animation with 100+ frames. (Direct X9,Sprites / Pngs) I load them all in an array and render them. How i do it: Load all frames in an array of bytes. When i need the frame x, i create ...
2
votes
1answer
1k views

Move Animation in LibGdx

I'm trying move animation within screen, here's the code ...
0
votes
1answer
50 views

Adjusting arms of character while moving

I'm working on a test game in Cocos2d for Python (code is a little dirty). I'm trying to run and shoot at the same time without having my character's (running) legs go back to the beginning position ...
0
votes
1answer
302 views

creating a trigger to play multiple animations at once

I need a "button" like trigger. The player would walk within the invisible cube that is the trigger, once the player is in the trigger (and only in the trigger) they would be able to press 'e' on ...
0
votes
1answer
303 views

Unity target position never stops with Vector3.SmoothDamp

I've integrated Vector3.SmoothDamp method to have a more fluid and native movement between the character and his camera in Unity. The camera movement is perfectly ...
0
votes
5answers
6k views

How How can I make a simple combo combat system in Unity

I'v been trying to make a melee combo combat system in the Unity Animator, but I can't seem to get it right. I'm trying to go for a combo system that flows from Hit 1 to Hit 2 to Hit 3, ect, with ...
0
votes
1answer
39 views

Animation loop finishes in 8 meters at 17 frames, how fast is it going?

So I made this model in Blender and synced its walk cycle using an animated path that was 8 meters long at 17 frames. But I don't know how to sync it when moving the model using a rigidbody.
1
vote
2answers
136 views

Why doesn't my character's outfit animate with the character model?

I'm very new to Unity. I'm messing around, just trying to get my bearings, but I'm having trouble getting a character model to animate with the clothes correctly. This is the asset that I'm using. I'...
0
votes
1answer
93 views

How to make a merge animation in Unity?

I've seen a merge animation in a mobile game which you can check here; https://youtu.be/G7l24Wtdcxw You can observe the animation when the tiles combine. Can it be done in Unity3d, may be using ...
1
vote
1answer
77 views

Suspend user interaction in unity during animation

What is the best way to suspend user interaction during an animation in Unity? Is there any standard technique that good games use. E.g. In case of a card game, I am trying to flip a card. But if I ...
0
votes
1answer
31 views

Unity - How to move a user controlled animated gameobject programmatically?

I have a player controlled gameObject with an attached script and animator with it's related animations. It all works great. However the gameObject is on screen immediately on level startup. I want ...
1
vote
0answers
28 views

Unity: Retrieve animation names from imported blend file

I am just trying to generate a list from all animations within my Blender Asset file (see image) This is what I have so far: ...
0
votes
1answer
188 views

How do I calculate the new Quaternions from translated points?

The code below is for a rag-doll using Verlet method, I have the correct points (or joints) positions, I just need the correct Quaternions, otherwise the resulting model looks like in the picture, I'm ...
1
vote
1answer
315 views

Chaining Melee Attacks

I am working on an action platformer using Pygame. My player sprite has three melee attacks. Let's call them SLASH_1, SLASH_2, and SLASH_3. Each of these attacks has, let's say, 2 animation frames, ...
3
votes
1answer
427 views

How to animate clouds in a plane?

I'm building a top-down strategy 2D game, and i'm stuck animating clouds that will float above the arena, hiding other elements. The effect i want to achieve is something exactly like this: How would ...
1
vote
0answers
30 views

Animator Play layer

What does layer parameter mean in Animator`s function Play ? It is a second argument which goes after an animation name and before the time of the animation to ...
0
votes
1answer
85 views

Unity: Interrupting Animations

When I interrupt an Animator Controller during an Animation and reopen it the Armature gets stuck (more or less) at the point where the previous Animation was interrupted. How can I safely and ...
1
vote
1answer
427 views

One big spritesheet vs many smaller spritesheets?

I have my 2D character animations which are stored in spritesheets. I have individual sprite sheet for every animation. For example, if my character have animations for idle, run and jump, I have 3 ...
0
votes
2answers
156 views

Optimization of animation for large quantity of objects

I have run into a problem where I need to animate plenty of circles just scaling up and down. When I use animator, it needs 16ms per frame for 10000 circles. It drops fps significantly from 1000 to ...
4
votes
2answers
237 views

How do I implement 2d color animation like in this video?

link on youtube at 1:38 - 1:42, purple things (I think this is particle system) that come off from the moon. Someone else had decompiled the game in the past, and the assets shows that the dark blue ...
0
votes
1answer
649 views

LWJGL—How to Animate and Render Characters Using a Sprite Sheet

I'm making an RPG similar to Super Nintendo RPGs in the early '90s. I'm handling movement much like Squaresoft's Final Fantasy IV. Notice that the player never actually changes his x and y positions ...
0
votes
2answers
349 views

Unity performance: change sprite from array or sprite sheet animation?

Quite some time ago I made a "GIF player" that basically reads a sprite array and swaps the sprite using a Coroutine, one after the other, in order to imitate a "...
0
votes
2answers
1k views

how to make a humanoid character bone rotate to face an object in unity?

I want to character to be able to move in a direction and be able to aim to object in other direction. I use code below to control bone of a character: ...
0
votes
1answer
367 views

Getting choppy, jumpy animation

Hey I'm trying to get a smooth animation for my player movement. Earlier I changed my frames to render at fixed time(1/60 sec). Well that makes my player now run at a constant speed but the animation ...
0
votes
1answer
156 views

How can I make the Player animation appear smooth?

I'm using GLFW for my window and input related work. I'm calculating delta time and multiplying it with my player speed and then finally adding it to the current position of the player. The thing is ...
2
votes
1answer
682 views

LibGDX - Wait for action to complete

With Scene2D, in the act() method of a Group, under certain circumstances I add actions to some children (eg a moveTo, or a ...
0
votes
1answer
202 views

Board game: Move entity direction based on position and angle

I have a board game where you have entities on a tiled map and you can only move forward, left, and right. Each tile represents a position of the entity, and based on the entity's angle and position, ...
1
vote
1answer
96 views

How to reduce the size occupied by my video animations?

I have a mobile game but my build size is currently 4gb. Furthermore, it crashes on open and I suspect it has something to do with the huge build size. In my project are 10 animations made of a ...
0
votes
1answer
548 views

Unity - animations threading

As one cannot play around with threads themselves, the user-made code that uses unity's API is executed on the main thread. I'm sure unity uses some sort of thread ...
1
vote
0answers
43 views

Workflow to animate character rig with an already animated model

How should I go about animating character rigs (walking, running, ducking, ...) with already animated assets? Do I load the animated asset into the project file of my character rig or do I attach the ...
-1
votes
1answer
69 views

How can I replicate jQuery's slideDown animation in SDL?

I'd like to know how I could make a slideDown animation in C++ using SDL. How would I implement the animation in SDL?
1
vote
0answers
275 views

How to flip sprites with different dimensions horizontally?

I am trying to make an animation on HTML5 Canvas with this texture atlas, which was packed by TexturePacker: and it works good when the Character is facing right. I try to flip it horizontally, but ...
0
votes
2answers
329 views

Weird Animation Behavior in Unity

I discovered a weird animation bug and have no idea how to solve it. Below you find the script I attached to my humanoid character. ...