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
2answers
171 views

Which is the fastest: shaders vs animations / animated images / pixel manipulation?

I'm quite newbie to shader programming. I use Godot engine and after I see what can be done with shaders (eg. http://glslsandbox.com/e#53172.0) I realized that I MUST learn it no matter how hard it ...
0
votes
0answers
42 views

How should I go about handling nonuniformed sprite sheet with JSON data?

This might be a lenghty question so bare with me. I'm developing a 2D game i Monogame framework and I'm stuck with it comes to handle large sprite sheets with different frame width, height and ...
0
votes
1answer
42 views

LibGDX - Drawing animation before specific tiled layer is drawn

I'm using TildedMap to separate map layer, drawSprites layer and objects layer.I'm trying to draw the map, then the player animations and then the objects on the map. This way I'll be able to have the ...
0
votes
0answers
34 views

FBX model for 2d sprite charachter

I was following along the unity platformer tutorial. https://www.youtube.com/watch?v=9WhZ1svdC3Q It is great. After looking the animation I found that there was a fbx model for 2d sprite character. I ...
0
votes
0answers
16 views

TextMesh animation not working when attached to a new TextMesh object

I created an animation on one TextMesh object. Then I duplicated the TextMesh object (Ctrl-D) and disabled the first one. The same animation is - of course -attached to the new TextMesh. However, it ...
1
vote
1answer
98 views

How can one replicate the 'Quake Disruptor' of Wipeout XL/2097?

Following my previous question, I am wondering how one can achieve the same effect under Unity? The effect in action https://youtu.be/kzmmLeCwL0g?t=790 Description of the effect When you fire the ...
1
vote
1answer
203 views

How do you animate/collide against a tessellated mesh?

Now that I have a implemented tessellation for my mesh, I am trying to understand how I can leverage the generated primitives. Example: I have the following track mesh generated procedurally, it ...
0
votes
0answers
22 views

A good way to record texture animation?

I want to animate rain on a windshield-mesh. The animation should be looped... And then I want to swipe the rain with windshield wipers. (also looped) So the texture on the windshield is supposed to ...
0
votes
0answers
15 views

How can I assign animation clips via editor script in Unity?

Everytime I update my mesh, and reimport my FBX, all of the references to my animations clips need to be reassigned in the animator. How can I assign them automatically in an editor script?
0
votes
1answer
105 views

Why do 3D animations have framerates

As far as I'm aware, all 3D animation software (Maya, Blender...) has framerates. That is, keyframes can only be placed on discrete points in time. Why is that? Why can't animation keyframes be placed ...
0
votes
0answers
82 views

Need Root Motion For Gravity, But It Affects Rotation?

I have a little animated character in my game with multiple animations. In order to have gravity affect him, I turned on "Apply Root Motion" in his animator. Now one of his animations won't rotate ...
3
votes
1answer
70 views

How to access internal data from separated rendering-layer?

I am currently rewriting a project I have been working on last year and I’m utterly stuck trying to "correctly" separate the game-logic from its representation. I know why this is beneficial and I ...
3
votes
1answer
196 views

Any tips for aligning existing sprite sheets to a grid?

I've been dabbling with sprites, and I've found most sprite sheets that have been posted for existing games (for example, Sonic & Knuckles) are not aligned to a grid. I've found this frustrating ...
0
votes
0answers
43 views

Model mesh overlapping while animating in Unity but not in Blender

I made an FPS model in blender and created reload animation when I imported that model in Unity I saw that while the magazine ejecting from the rifle it overlapped some of the gun parts. Then I went ...
0
votes
0answers
25 views

Unreal Engine and Simple Animation

I am creating a card based game and I am stuck on an animation detail. My question is I need an animation to shuffle the deck, a animation for dealing and an animation for drawing. My question is ...
1
vote
0answers
115 views

Playing an animation in Godot

I have been working on making a platformer in Godot but can't seem to get a walk cycle to play when I press left or right. ...
1
vote
1answer
156 views

Unwanted left-right rotation in run animation imported from Mixamo

A humanoid run animation I downloaded from Mixamo is working fine on their site and in Blender. When I import it into Unity it shows a strange movement: the full body is rotating left & right in ...
0
votes
0answers
62 views

Ice transition particle effect

We are small indie team developing a casual mobile game. We are trying to implement an effect like the normal-to-ice block transition in Angry Birds 2: How can we implement an effect like this in ...
0
votes
2answers
69 views

Unity animation tool doesn't save changes

I'm trying to create an animation inside Unity using the animator tool, however the record tool isn't recording my changes and I'm struggling to get this to create animations. I have created an ...
0
votes
0answers
27 views

Fingers don't move when changing Animation Timeline

I am making a custom animation for some finger bones on a humanoid model, but changing the values inside the timeline window does not visually move the fingers in the scene view. How can I preview ...
0
votes
1answer
46 views

What bones are involved in a walk cycle like Leon's in RE4?

I would like to create a character that moves like Leon in RE4. This video demonstrates Leon's walk cycle, which I'd like to reproduce. I'm confused about which bones of my character's skeleton should ...
0
votes
0answers
18 views

Unity Blend Tree Animations wont trigger

I have setup Blender Tree Animation, it works fine inside the preview, But does not show anything inside Game window. using below code to pass moveX & ...
1
vote
1answer
193 views

Unity animation plays in preview but not in playing mode

I create a simple animation and an override controller for it with code. ...
1
vote
1answer
80 views

Animations in Unity are not working properly

I've done a few animations in Blender for my 3D character but the problem is, that they look different in Unity. It seems like the eyes are moving too much. I tried to change many things in import ...
0
votes
1answer
84 views

Animate some tiles of tile map

I have a game where each "tile" of the terrain is a triangle (Settlers 2). Those are placed next to each other and in way creating an infinite world (right/bottom jumps back to left/top). There is a ...
0
votes
2answers
152 views

2D character movement

My character moves right and left correctly, I want to know if it is possible to move character forward and backward to collect hearts (I know that in 2d no z axis I want to know if it is possible ...
-1
votes
2answers
135 views

UNITY || How to access the “exit transitions” of the current played clip from the animator?

So, I have an animator , i can access it. But from there I have no idea how to access the clips inside. I need to access the transition of the clips. I got as far as accessing the object of the "...
1
vote
1answer
172 views

Detecting collisions during animations

I am creating a prototype enemy swordsman, and I'd like to be able to parry his attacks, like the parry system from VR Dungeon Knight. This is my method of implementation: Parent a sword to his hand ...
0
votes
1answer
20 views

Animation Length to Integer

‏‏‎ Currently, I have a script; more specifically for weapons. It handles animations, and the animations are being played and then stopped (once they're finished) by co-routines. I have variables ...
2
votes
1answer
539 views

Why are my animations flickering?

My animation is supposed to be used in my physics project I am making. I am using 10 millisecond setInterval() and setTimeout() ...
1
vote
2answers
64 views

In LIBGDX how to give different frametime to animations

As of now I've been using Gdx.graphics.getDeltaTime() to achieve this but I think this shouldn't be the correct way. Let's say I have 3 images/sprites and I want the first one to stay for 1 second, ...
0
votes
1answer
200 views

How to Fetch a Frame Number from Animation Clip

I'm trying to find out how to fetch the frame number from an animation clip accurately. I don't want to get a value between 0 and 1 that shows as a percentage-as-a-decimal how much of the animation ...
0
votes
1answer
30 views

Unity3D Door animation help

i've imported a door from blender to unity. it has two animations, open and close. i've put an animator and script on it, and everything works fine. it opens and closes when i press x using a box ...
0
votes
1answer
35 views

Cannot access an animation from script

I want to change the reload speed of my player when a button is pressed in the pause menu. I created a button and attached the following script to it (as suggested by the documentation here: https://...
0
votes
1answer
155 views

Problems when rotating object to animate in Unity

I am trying to create some animations for a car model in Unity and I have a problem with the rotation of the wheels https://imgur.com/a/HcWxyob Here I can set the rotation properly as the pivot ...
0
votes
1answer
99 views

How to make a 2D sprite slowly vanish as it crosses a line — as if disappearing behind a wall?

...Except there is no wall. Only one of its edges. Here is what I mean. Notice how the lines "sink" into the center square. I've been trying to do something very similar, in Unity. My approach is to ...
1
vote
0answers
33 views

Blender - Exporting and Replicating Bone Animation

I'm having trouble replicating Blender bone animation in my game. Bones that have a vertical rest position (Euler(PI / 2, 0, 0)) are animated correctly (e.g. head, neck, torso, legs, shins), however ...
0
votes
1answer
89 views

Variable Problem when coding the Player Movement in GameMaker Studio 1.4.9999

In oGirlTest object I have a Create and Step event. Create: ...
1
vote
2answers
43 views

Animation confusion - Unity

Im pretty new to game dev in Unity, and thought I'd start off with a relatively simple game: Im planning to make a game where 3 cups are shown on a table, and a ball is placed beneath one, the cups ...
1
vote
1answer
750 views

Unity Animator default values overwriten

I have created a project to reproduce the problem I'm currently facing. I'm running a simple unity animation that moves a game object and expect to be able to reset the gameobject position. This can ...
1
vote
1answer
369 views

2d water animation is jagged and not smooth

As a solution for this question I implemented the shader with a test program: ...
1
vote
1answer
62 views

Compensate for animation time in multiplayer network game

I'm developing a multiplayer turn-based card game. In certain scenarios, the clients are required to perform an animation before moving on with the game. For example, the server informs the clients to ...
1
vote
1answer
29 views

How to make my model's top section rotate without rotating the entire model?

I'm trying to learn a bit of Maya modeling so that I can be self sufficient when it comes to creating super basic assets for my game development. I'm trying to understand skeletal rigging and how it ...
0
votes
1answer
140 views

Is it possible to make realistic animations in 2D?

I plan to make a skateboarding game and I am wondering about one thing: is it possible to make 2D realistic animations to simulate skate's and skater's rotations or should I resort to 3D for realistic ...
0
votes
1answer
42 views

Unity3D: Modifying Animator Controller parameters

I have this GameObject with an AnimatorController. The AnimatorController has several states in which I want to parametrize the animation's speed because configuration. For this, I've created an ...
1
vote
1answer
223 views

Simple animation text color change

I apologize in advanced if this is a trivial ask, but I am wondering if it is possible to use an animation to change the color of a Text element from teal -> white without any lerp, i.e the color ...
23
votes
4answers
4k views

How to animate abstract 2d top down water texture?

I currently implement a game with a top down view of the ocean. I use the following, a little abstract texture: The actual texture is transparent, I added the green-like color for clarity. The ...
2
votes
1answer
199 views

Playing animation on button press with a condition

I want to do menu animation. In the animator, its contain 2 animations. One is opening animation, the other is closing animation. I set the opening animation as default state and added condition ...
0
votes
1answer
87 views

i need suggestion animation technique for 3d?

firstly you need to now i am beginner :) i am using opengl and for display vertex buffer object(vbo). i made 2000 frames animation model with blender and i export with (.obj) files and i upload all ...
1
vote
1answer
82 views

I imported both the rig and baked animation seperatly from Maya, but it's not working correctly

I am using the animation controller to bind the "jump" animation I did onto the rig itself. I don't get any errors. The animation plays. Except it seems to only affect the root joint only. Basically ...