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

learn more… | top users | synonyms

0
votes
0answers
19 views

“Analogue” Control of animation

New to animations and need a little bit of education :) I have a model of an object that has a generic animation. I would like to control that animation using an analogue trigger on the controller, ...
1
vote
2answers
34 views

Image Does Not Animate and is Stuck in one Frame

I'm having a problem in my code where the animation from another class does not animate and is stuck in one frame. The image moves across the screen in the right manner though. I know that the problem ...
-5
votes
0answers
30 views

Need a UNITY5 dev team [on hold]

Help me with a game dev in Unity5
-1
votes
0answers
17 views

Animations won't work in Unity

I've been working on an FPS, and none of the animations are working. I've tried everything, from trying new coding, to changing it from legacy. What do I do?
0
votes
2answers
26 views

How do I find an accurate current speed of a navmesh agent?

So I have a blendtree of an idle/walk/run animation of a character (the navmesh agent). I want to use a normalised float of the speed of the navmesh agent to control the blend of the animation cycles. ...
0
votes
0answers
19 views

Simple and effective model Rigging for Custom Game Engine

I am planning to construct the game entities in my game from multiple simple meshes (like Minecraft for instance) and to animate them, I want to use skeletons, and every joint has its own mesh and ...
0
votes
1answer
40 views

How to create a 2d character turning his head animation?

I'm learning to create a 2d character animation for games. I've seen some tutorial where we use skeletal animation to move images and create several frame to create an animation. But, for an ...
0
votes
0answers
28 views

How do I make dialogue text appear with a beeping effect in game maker studio?

I am trying to make a game that is a rpg and uses typing and beeping on a text box sprite and overlapping it with a mugshot and text typing while beeping, and then executing code to make a end point ...
0
votes
1answer
27 views

How to get the attack animation cycle all the way through after one KeyEvent without twitching? (Java awt)

So I figured by myself (supposedly) how to make the attack animation cycle all the way through after pressing a key without needing to keep it pressed. But now it doesn't always start at the same ...
1
vote
1answer
121 views

Simplest way of skeletal animation in openGL

I am not interested in using easy libraries like assimp which will import collada files with ease to get skeleton animation done. I wanna know what is the minimal requirement to get the animation ...
0
votes
0answers
34 views

unity 2d animation masking

im searching or a way to combine animations or mask a part of animation of 2d character for aiming and looking. for 3d unity has some good tools to do that but couldn't find out how to do it on 2d. ...
0
votes
0answers
27 views

How to animate a sprite in libgdx with Spriter

So, I have an animation that I've created in Spriter and a class in libGDX that extends Sprite and contains a box2D body. What I've done previously is have a texture atlas and loop through it to set ...
-3
votes
0answers
31 views

How to animate 2d trees?

I know that artists can create an animation for a tree. But to allow my artist colleagues to work on something else, I'd like to animate trees programmatically. How could I achieve this in unity?
1
vote
1answer
28 views

Libgdx Animation class? not iterating through frames?

I am making a 'simple' top-down space shooter in 2d using Libgdx. I have loaded the texture regions into arrays and created Animations inside my sprite, but when I call the getKeyFrame it seems to ...
0
votes
0answers
34 views

Humanoid model stuck waste deep in terrain

I bought a model off of the Unity Asset Store that is a humanoid. I have it set as a humanoid and I have put all of the third person controller components necessary to use the model as a third person ...
0
votes
0answers
19 views

How to model actions/animations with limited duration in an Entity Component System

Alternative title: How to prevent duplication of progress/duration properties in temporal components in ECS? I'm trying to wrap my head around ECS and came up with the following problem: Certain ...
0
votes
1answer
55 views

How do I load 100+, 480*800, 30KB PNGs into a frame by frame animation on Android without OOMs?

I'm an Android dev who's trying to get into game dev. As the title says, I'm trying to load a hundred PNGs as an animation, fullscreen on Android, but no matter what I try, I always getting out of ...
0
votes
0answers
30 views

2D animation game integration in WPF application

Am a junior WPF developer and completely new here. I am supposed to integrate a car race like 2D game (taking inputs from a peripheral, and detecting whether the car is inside the track not) in my WPF ...
0
votes
1answer
44 views

2D Push Forward/Sprinting effect?

A few weeks ago i watched a video and found a really cool 2d push forward/sprinting effect which looks like the following : How this is made ? Is this effect included into the animation or just ...
1
vote
1answer
24 views

Is there a way to start UI animation transition with code in unity?

I have made an animation for a button in unity's UI prefab, but i want it to start only at certain times, when i command it with code. How can i do this?
0
votes
2answers
72 views

How long should a user's input be delayed?

For browsing the web, the UX site has a great answer. My question is about games, not forms. How long from the time a button is pressed, should the player's character react? On the one hand, ...
29
votes
3answers
14k views

Why don't most major game engines use gifs for animated textures?

What is better to use Animation Sheets or Gifs? One advantage Gifs have over Animation Sheets is that you don't have to think about frames going too fast or too slow because of your code and updating ...
0
votes
0answers
46 views

Parameter in Animator Controller

For switching states in the animator controller, how can I set as a parameter a specific time in the animation frame I would like a certain animation to occur (in transitioning from a previous ...
0
votes
1answer
46 views

Changing motion clips via script in Unity

is there a way in Unity to access the Motion clip of an Animator State and change it at runtime via script? I am trying to do a character shop in my 2D game. My idea is, when i click a GUI button it ...
0
votes
1answer
31 views

libGDX - Scene2d Actions or Frame Animation, which is better for performance?

I only use Scene2d for the UI layer of my libGDX game. But I need some animations like fading or rotating on my players. Which is better for performance: Scene2d fade action or having multiple ...
0
votes
2answers
65 views

How To Have My Character Turn When The Camera View Moves

So I have recently finished animating my character, having it move with key presses and have applied a camera to it. But I am stumped on how to have the player turn when the camera view moves, and ...
1
vote
2answers
57 views

Change parent object on instantiation

I'm making a game in which I have different weapons. One of them is a hand grenade. Well, the question is: I made an animation with mecanim (I don't know if is the correct way) with the grenade being ...
0
votes
0answers
15 views

Unity - Are there auto-generated scripts from animations?

Is there a way to get the scripts of an animated GameObject? Are there generated scripts from working with animation in Unity? (I'm animating specific objects and was wondering if there are auto-...
0
votes
1answer
49 views

Play/Stop All Animations in a Project

I see that there's a way to get each animation clip like the following, but is there a way to get all of the animations in a given project and play/stop them at the same time? public class Anim: ...
1
vote
1answer
46 views

Animation Starts Before KeyDown Event Even Happens?

Recently when I started working on my first animation transition, it has a bug were the transition will occur as soon as the game begins, even though I haven't pressed the key to activate the ...
1
vote
2answers
51 views

Can't assign animation to animation variable declared in script Unity2D

So I'm trying to have my script pause an animation when the user clicks. Here's what I have so far: I defined the animation up at the top public Animation anim; and then further down, ...
0
votes
0answers
116 views

How to implement a ripple effect, preferably as a shader, in Unity?

I want to achieve an effect like the following gif shows in Unity UI. I actually think that this should be possible with a shader. I already achieved this effect with a combination of animations and ...
1
vote
0answers
37 views

Vertex Skinning, Bone matrices question

I'm creating a model/animation viewer in C# using OpenTK for a game's models. Before stating my problem I want to describe a bit what I've accomplished so far in case I'm fundamentally missing ...
0
votes
0answers
30 views

Which GameObject should I put the animator on?

I have a GameObject. One of its children is an empty GameObject, whose children are the body parts which need to be animated. Character (root) --->Body --->--->Body Parts Should I put the ...
0
votes
1answer
21 views

Saving Skin weights Issue

I have Skinned the character using rig simulator and now wanted to add Bendy controls.. How can I export the skin weights and apply on modified rig?
0
votes
1answer
44 views

2d animation on html5 canvas using a vector and speed

Im moving a starship from one location to the other. In creating a vector, normalize and magnitude it. Lets assume my vector looks like this Vector x: 156, y: -90, m: 180.0000000546, ...
0
votes
1answer
37 views

Sprite animation cannot be play when player retry Unity

In my unity2d game I've create a sprite animation, like a mushsroom bounce. When I start the game for the first time the animation plays properly, but when the player dies, and retries, the animation ...
1
vote
1answer
74 views

Sprite rotation: is it better to rotate with a quaternion or via sprite swap?

Considering this question: "In a generic game engine where you have an object sprite (e.g. Unity), is it better (in terms of performance) to implement a clockwise rotation calculating at each frame ...
0
votes
1answer
24 views

Animation position leftover

I am fairly new to unity and I have ecountered this same problem previously. I have a gun with hands and I created an animation that simulates shot mouvements with properties transform.position and ...
0
votes
0answers
26 views

Animated GameObject shows in editor but not on mobile device

I have a GameObject in my scene that works perfect in the editor but does not show up on my device. The GameObject is a prefab that is instantiated during runtime. It has an animator on it. The ...
0
votes
1answer
46 views

How to create an animation from several .obj files in maya?

I have several .obj files. I plan to create an animation from these .obj file. Every mesh in one .obj file is correspond to one frame. And every frame only show one .obj file (meshes in others .obj ...
1
vote
1answer
33 views

What is an animated surface mesh?

I am reading the paper Animated Mesh Approximation With Sphere-Meshes . The input of the algorithm mentioned in the paper is an animated surface mesh, but I do not know what an animated surface mesh ...
2
votes
0answers
23 views

How can I find an animation's final compression size in Unity?

I've been looking at animation compression, and the only way I can seem to find it's final size is to create a Build and check it in the Profiler. There must be an easier way?
0
votes
0answers
45 views

Animating 3D character and ball bouncing/catching

I am making a sports game which requires the character to pick up, catch, bounce, kick, etc, a ball. Is there any common way this should be handled? Currently, I have added a bone to every animation ...
0
votes
0answers
44 views

Unity Animator won't work

I am trying to play the Animation "Attack", for the "Sword" object (this is the child of the "melee" object which contains the script) , whenever you press "Fire1". Although there are no errors, When ...
1
vote
2answers
60 views

Parent and child with different Animators

I'm animating my 2D game (Unity 5.4). Is it a good/bad practice to have parent and child gameobjects with different Animators? Example: a 2D bug, that has sprites for every body part. On the "body ...
1
vote
1answer
53 views

Performance of separate Animators vs single multilayer Animator

I am making a 2D game with Unity 5.4 and I want to animate my 2D human character. He has different sprites for its body parts - leg(s), hand(s), head, eye(s), nose, mouth. Its eyes, hands, legs move ...
0
votes
0answers
31 views

Javascript sprite animation without game engine

I've programming for a while now, and I want to create my first game. Unfortunately, I am kind of stuck with the Sprite animation. So far, I have a gameloop fully working, with a 'Sprite 1' row! What ...
0
votes
1answer
40 views

Unity3D, How do I press one key and then cant press another key while the one is pressed?

I am making a horror game, and I want to press a key to look up while I am idle, that i've done but if I press the W key it stands in idle but floating forward. How can I disable the W key while I ...
1
vote
0answers
37 views

Automated animation retargeting

I am currently developing a video game using my own game engine I develop at the same time. While making a good progress in the past months, I am currently stuck. I assume I only miss a minor thing, ...