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
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
225 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
239 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
31 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
73 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
104 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 ...
-1
votes
0answers
115 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
86 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
28 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 ...
1
vote
1answer
71 views

Which style/technique is more time efficient for an inexperienced artists? [closed]

For a top-view 2D mobile game where you have to create and animate humanoids (human, golems) and "objects" like fire, boulders, levers, etc. Considering the artist has no prior experience with ...
0
votes
2answers
3k views

Play animation of the jump properly in Unity2D

Here is what I want to do: when player jumps I would like to play an animation of jumping once on playing it I would like to stop at the penultimate animation frame till the player falls to the ...
2
votes
1answer
655 views

Change all boolean parameters of an Animator in Unity

How can I change all boolean parameters of an animator to false? Here is a solution which I found: ...
0
votes
1answer
837 views

Animating child objects via parent object animator in script

I'm using unity 5 I'm trying to animate multiple child objects via a parent object. The animation worked in the animation view but would not work when I tried to preview the game. In the script I use ...
7
votes
2answers
420 views

How to avoid spaghetti in the animator?

I am working with animations in Unity and so far I have made only four (Up Down Left and Right) and my animation window looks following... Problem is that if I was moving Up I want hero to stay ...
0
votes
1answer
2k views

How to stop an animation on last frame until condition is met in Unity?

I have an animation (fishing) I want to play backwards when the player catches something or cancels the action. Playing the animation backwards is as simple as setting the speed to -1, ie: ...
1
vote
1answer
872 views

How does one make both movement and animation to sync up and happen simultaneously?

I am very new to Unity and game making and would appreciate if you would cope with me. I have made a very basic prototype of character animation and movement, however trigger that is supposed to fire ...
0
votes
1answer
40 views

nullException issue [duplicate]

I have a problem when I was trying to change a state within my character. I wrote the code below ...
1
vote
1answer
2k views

Child GameObject doesn't follow parent's transform

Look at this picture first: I have model that has sword in his hand. I added a cube named "Attack Collision" and located to blade position. And then set the hand to parent. But when the game starts, ...
0
votes
1answer
85 views

Initiated a animation in unity via use of an animator component

I've written a coroutine that starts an animation. GameObject.FindWithTag(names[number]).GetComponent<Animator>().StartPlayback(); This is the line of code ...
1
vote
0answers
56 views

taking a static animation and making it move unity3d

Say you have an animation of a bird flapping its wing. Some animations actually moves the Avatar either forward, backwards or to the side. My question is, is it possible to take that flapping ...
0
votes
2answers
419 views

Play animation with the help of the animator once, wait until it ends playing and continue script code

How can I play animation with the help of the animator once, wait until it ends playing and continue script code? I am playing an animation with the help of the animator this way: ...
0
votes
1answer
265 views

SFML Animation class as a strategy or an inheritance

everybody. I need to add animations to my game. And I have a question. I found AnimatedSprite class on SFML Github which is an inheritance, but in my project, I am using a lot of elements made with ...
2
votes
1answer
79 views

Root Animation unusual position and non root animation snaps back

Im trying to do a stop animation . when i release the W key then from Run it will do this animation then goto IDLE . But somehow this is not working right. as you see in those videos below. So how do ...
2
votes
0answers
58 views

Skeletal Animation: No initial bone rotation

I am currently trying to implement animations in my game. I am having an issue where the bones do not rotate properly. In my program, I apply an inverse bind pose to each bone to move them to bone ...
1
vote
2answers
242 views

Precise punch animation for unity

I'm using blender to model, rig and animate my character for a Unity game, but there is something that I can't figure out by myself neither find on the internet, for example: Lets say the main ...
0
votes
1answer
1k views

How to detect when the current animation is finished in code in Unity's Animator? [duplicate]

I have a model with an animation controller. I set the states and parameters for transitions between them. Now I need to make the model play its animations in the order I want. I can use: ...
6
votes
1answer
118 views

What takes up more processing power between whole character models or models that are pieced together in Unity?

In terms of performance when it comes to animation what takes up more processing power: Whole character models or models that are pieced together? (1 object vs multiple objects). I also wonder if ...
0
votes
1answer
448 views

How To Animate Skeletal Interactions (Hugging, Handshakes etc.)

I am fairly new to animating and IK systems, but I've got the basics down to some extend. Now I am looking into how to go about skeletal actor animation interactions such as handshakes, fighting, ...
0
votes
1answer
54 views

What programs could I use to render an animation based on points (“atoms”) rather than models? [closed]

I've rendered the following animation using JavaScript and canvas: https://www.youtube.com/watch?v=AMLqe5HdVok For that, I used points exclusively - i.e., there is no mesh/trigs, not only the ...
2
votes
0answers
36 views

Is there an engine-agnostic tool for editing curve animations? [closed]

I am looking for a tool that allows to edit 3D animation curves. What I want is something similar to how the animation system works in Unity or others. Being able to create a timeline of ...
1
vote
1answer
413 views

Instantiated objects sharing the same animator cannot animate independently?

I have two scripts and an animator. The first script is attached to an empty gameobject and creates eight plane (for use as cards). The second script runs a flipping animation if the plane/cards are ...
2
votes
1answer
2k views

How do I use coroutines to animate properly?

I have a coroutine, which I called from the Update() method on every click. First, I call AddTrunk() to add to my ...
0
votes
1answer
296 views

Change Time.timeScale during an animation event - Unity

I have an animation. A few seconds after this animation starts I set an animation event that is correctly being triggered. This animation event calls a method where I am trying to modify ...
0
votes
2answers
400 views

AI Algorithm to make enemy smarter from level to level in Runner game

I am designing a City-Runner game in Unity 3D Engine.I am a beginner in game development (not in programming). The idea is really simple, the Runner will be followed by AI enemies, and if caught by ...
1
vote
0answers
61 views

Why is my animation glitching?

The Animations done is 3ds max works great and smooth as they should be, problem happens when i import them to unity, they seems to be glitching and noncontinuous at some parts, all i did was ...
1
vote
0answers
443 views

Making animation clip at runtime from available sprites

i have sprite sheets of different resolution for targeting different mobile/tablet resolutions. the problem is that i have to choose sprite sheets from all the available one depending upon target ...
0
votes
1answer
318 views

Animator get number of animations (Unity)

In C#, how would I get the number of animations in an Animator Controller? So I want to find out how many animations there are in an Animator Controller, and have this number in script. Thanks in ...
1
vote
1answer
511 views

How to make my animation play once?

In 3ds max, I've made a Cannon that sets itself up, but I only want this animation to play once, here's where I'm trying to make it loop only once: When I click the toggle at the bottom, it stops the ...
2
votes
1answer
484 views

How to tween animated sprites?

So I have an animated sprite of 15 frames, needless to say, at 15 frames, it plays jumpy with a low frame rate. I want to increase that, by somehow tweening or generating intermediates between the ...
0
votes
1answer
140 views

Multiple instances of same sprite class showing different animation frames in libGDX and box2d

So here is my problem. I created an enemy class which extends Sprite in libGDX with a Box2d body in it for collision detection. My code calls the enemy class dynamically within the game in a loop, but ...
0
votes
1answer
80 views

How can I efficiently resize sprites every frame?

I want to animate UI elements, like HP bars, by moving and resizing them. How can I efficiently resize sprites every frame? I am using the LibGDX framework.
2
votes
1answer
244 views

Smoothly extend eased animation to new target value

I am implementing animated double property from scratch, currently with SmoothStep easing, however when new target value is set, there is visible "jump" in ...
1
vote
2answers
435 views

Need some help with Unity 2d animation controller

So my animations don't transition right. I have a 2d top down prototype project and animations for 4 directional movement and an idle position. Right now i have the movement set up so the right ...
7
votes
1answer
482 views

How do I make spring animation for a 2D game?

I want to create a realistic spring object, as a sprite, that compresses and expands when a force is applied and released, respectively. The only thing I know is that it requires some complex ...