Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [animation]

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

1
vote
1answer
618 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
2k 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
264 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
308 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
304 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
826 views

Move Animation in LibGdx

I'm trying move animation within screen, here's the code ...
0
votes
1answer
47 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
155 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
235 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
4k 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
129 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
78 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
65 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
28 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 ...
0
votes
0answers
629 views

How to set a default value with Unity animation?

I set the default value with this in Animation by occasionally, and I use it to move different position sprites to the same position. How to set this with a default value?
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
147 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
227 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
296 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
21 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
63 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
309 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
0answers
19 views

How to cache mesh for animated tiles on a tileamp?

First a bit of background: I am writing a tilemap renderer. The tilemap is a sparse grid where tile IDs are stored in blocks of 16x16 tiles (configurable). Currently the renderer renders static (non-...
0
votes
2answers
148 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
491 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
300 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
856 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
256 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
126 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 ...
3
votes
1answer
520 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
158 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
86 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
400 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
67 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
193 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
212 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. ...
0
votes
1answer
49 views

Display two characters with same tag in unity 3d

I'm developing a bowling game in which I'm currently working on the winner loose scene. I have a parent gameobject which contains two character models having the same gameobject tags. For the two ...
1
vote
0answers
47 views

Problems exporting animations to Unity 5

I've finished a model in SpeedTree Cinema v7.1.1 and the model exports correctly, but I can't figure out how to export the wind animation to Unity 5. The only problem is that the wind animation itself ...
1
vote
0answers
18 views

Control the Transform component of an object while the animation is playing

It seems the the animation controls the Transform component of the gameobject, hence making it not possible to control the transform properties while the animation is playing. Is there any way to ...
1
vote
0answers
40 views

how to check start of every loop in looping animation in unity

I have a shooting animation that needs to be played in start of every loop. I want to instantiate bullet in every time animations tarts. it seems ...
1
vote
0answers
29 views

Unity: An empty idle animation overwrites values set through the FixedUpdate code

I am relatively new to the Unity environment. I am creating a 2D game. My character's avatar consists of only one single sprite. Due to its specific crawling-like type of movement, I apply some scale ...
1
vote
0answers
71 views

How could I implement a movement system like Intrusion 2 has?

Here is a trailer of the game Intrusion 2. The characters seem to move with physics, but look animated as well. I'd like to know how such a movement system works and how I could go about implementing ...
0
votes
1answer
102 views

How to interrupt an animation and transition to another?

I am trying to make a 2D platform game which is Megaman-style. I have some problems when I make shooting animation. In Megaman game, the animation can interrupt by press keys. Just like this: For ...
2
votes
0answers
108 views

How does an interruptive combat animation system like Metroid 2 work?

See here for reference. For the most part this game is a 2D side scroller with the expected platformer architecture: move left, right, jump, shoot, etc. Enemies move and you jump out of the way or ...
0
votes
0answers
110 views

What is the best way to create walk cycle animation for units in a tiled RTS game using pygame?

I am working on a prove of concept, prototype, tiled, RTS game with a top down view. I want my units to be able to move in 8 directions. Firstly I have created frames for movement in all of them and ...
0
votes
1answer
78 views

Supporting uniform/non-uniform scale in hierarchical animation

I have worked with hierarchical blended animation systems for a number of years, but I have never been quite sure how to handle scale correctly. The introduction of non-uniform scale is additionally ...
0
votes
0answers
26 views

Unity: Blend Tress - posx, posy misunderstanding

I wonder if anyone can help? I recently tried to do a POC of Blend trees for animations, I got it working but I am very confused about the posx, posy variables. I chose a 2D Simple movement and ...