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
0answers
31 views

How to animate fluid filling down a pipe of any shape?

I am working on a project where I want to model a simple flow of fluids around a circuit of pipe. I thought a simple way to do this would be to create an irregular shaped loading bar, then animating ...
0
votes
1answer
248 views

Unity3d : Access the OnClick parameters of Button in a script

I have a button and I have attached another script "PlaySound" for this button, which plays audio on button click. As soon as the audio gets completed, I want to ...
1
vote
1answer
111 views

How to add a animation to myPlayer

I'm currently making a shoot em up in monogame. I want to add just one animation to my object. No commands or transitions between animations for different actions: just an object swapping between ...
0
votes
0answers
49 views

How do I make a hitbox for a sword in a top-down game?

Context: I'm using Box2D through LibGDX in Java. The sword and the player are in separate classes. Both extend LibGDX's Sprite class. I've got a sword attached to my character that swings when I ...
1
vote
3answers
3k views

Multiple Sprite animation layers overlayed in Unity Animator

I have an animator with two layers, an axe layer and a body layer. I would like to animate the two in sync with each other. They are both 64x64 sprite animations, frame-by-frame bitmaps. The ...
0
votes
1answer
102 views

Managing animations for object state transitions

I'm looking for an optimized way to handle simple state transitions on my game objects. By "simple" I mean not more than 1-2 actions per object, and most algorithms are linear. For example, I have an ...
0
votes
7answers
4k views

How to saving and loading animation curves

Is there any way to save an animation curve by playerprefs ? The animation curves in the inspector reset each time the script is changed (public variables added) I want record my animation In runtime ...
0
votes
0answers
30 views

Frame animation for 3d model (voxel) in Godot

I want to animate a 3d model without rigging. Just frame animation. Is it possible to do for a 3d model? Or do I have to apply animation for model sprite(images) only?
1
vote
2answers
1k views

How can I play an animation only using C#, without animation controller, or create an animation controller at runtime entirely from script?

I've been looking around for a while trying to figure out how to play simple animations with Unity via ONLY C# script, with no drag-and-drop involved. So far I've found various tutorials explaining ...
0
votes
0answers
23 views

Unity: Run several Animations simultaneously on the same Object

Using Unity & Blender 2.79 the task is to animate a Dropship Helicopter. The dropship lands, opens its hangar door, troops come out, door closes, dropship flies away, simple. Cannot be shot down ...
0
votes
1answer
137 views

Unity tilemap tiles animation

I am beginner in Unity and I have created tilemap using new tilemap system in unity which looks like this: I created a script that lets me swap tiles. First I click on some tile and than I choose ...
1
vote
1answer
76 views

Game engine animation management

Usually in a game scene there might be tens of animations going on at the same time, each being in its own state. I wonder usually how is this managed in game engines? Do they just stack a variable ...
0
votes
2answers
66 views

Detect up and down slopes to switch between character animation

There's a player and a slope in my scene. I want the player to automatically switch to 'climbing down' animation when he's at the top of the slope and moving down and similarly switch to 'climbing up' ...
0
votes
1answer
46 views

curve of animation in C#

I think that the animation curves in Unity lack the fact of being configurable because they are only chosen with a certain type (no sinusoidal function) and adjustable with handles. How in C # create ...
0
votes
2answers
70 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 ...
0
votes
1answer
27 views

Unity Timeline character transform initial values

I'm trying to make a runtime cutscene in Unity using the Timeline editor. I have a humanoid character with an animation controller, track and a cinemachine track set-up in the playable. The timeline ...
1
vote
1answer
192 views

Unity Anima2D - IK Limb for leg not working

I'm having an issue getting an IK limb to work using Anima2D in Unity. If I place a limb IK for the neck joint, the head moves as expected, however trying to place one for the leg seems to have no ...
1
vote
1answer
73 views

Updating transform position after root motion

I have an animation of a character climbing with root motion in it (i.e. the character moves generally upwards for a couple of units during the animation). It is intended as a one shot, not a loop. ...
0
votes
1answer
108 views

How to make animation in unity Dots hybrid?

I'm working on isometric game in 2D but didn't find any good tutorial in how to handle animation...any help?
1
vote
1answer
50 views

How can I blend an animated character with ragdoll physics collisions?

I'm trying to make an effect that a ragdolled character controlled by an animator also affected by the physics collisions. Similar to this game: Crazy Shopping. The problem is animator controller ...
0
votes
1answer
94 views

How does the stateTimer parameter is initialized in this method getKeyFrame(stateTimer)?

I have been following the tutorial https://www.youtube.com/watch?v=1fJrhgc0RRw&list=PLZm85UZQLd2SXQzsF-a0-pPF6IWDDdrXt&index=11 I an not able to understand what is stateTimer in getframe ...
2
votes
0answers
26 views

Compute spheres 2D speeds in perspective projected animations

I created two animations that consist of spheres moving in a perspective projected 3D space, which means that the size and speed of the spheres vary with the distance: they increase when they are ...
0
votes
1answer
117 views

Why is the character not walking right when creating new animator controller for the character?

I created a new controller called it SoldierController and dragged it to the character Controller under Animator component in the Inspector. Also unchecked Apply Root Motion Then attached a new ...
0
votes
0answers
19 views

Unity: Spritesheet character with different independent animations

I want to be able to animate different parts of a character's body independently and I can't figure out how to do it. I have an animation for the head and another for the legs, made by multiple .png's ...
2
votes
1answer
88 views

Animation position leftover

I am fairly new to unity and I have encountered this same problem previously. I have a gun with hands and I created an animation that simulates shot movements with properties ...
0
votes
0answers
9 views

Animation Parameters (To use later as prefab in any place in canvas)

Am using Unity3D 2019 and I'm creating a 2D WorkFlow Systems, so I found like solution to create pipeline liquid animation is the use of two Images objects first one used like a mask for the second ...
0
votes
1answer
18 views

How to Enable canvas with Event during a animation clip

I want to enable a canvas while an animation clip is playing, I used animation Event and call the following script to enable the canvas, but the editor does not recognize any game object. How a ...
0
votes
1answer
9 views

Auto key bones with controller helpers

I have skinned and rigged a human character with IK / FK and helper objects to control the position of the IK goals and the rotation of the bones. For example, the characters' left arm IK goal is ...
0
votes
1answer
31 views

Why has my object detached itself from the parent?

I made an two objects in blender, animated them, and saved them. Firstly, when I reloaded them, half of the animations I created had disappeared, which is annoying itself but the real annoyance is ...
0
votes
0answers
30 views

Layering Animation on Pixel Art Sprites

I'm currently having some trouble finding the best way to layer animation onto a 2D pixel art sprite animation. For example, I want to add various expressions and blinking onto a pixel art idle ...
0
votes
1answer
53 views

How to add custom control shapes to a rig in Maya

I find most Maya animation videos has these circle lines to control character part rotation: Why does my imported fbx not have these circle lines?
1
vote
1answer
256 views

issues about combo attack system animation

i have some issues about my attack animations right now, i'm doing my light attack which has 3 separate attacks and animations. the scripting and trigger works(without animation), but my animation ...
1
vote
2answers
570 views

Creating animation by script with animation assets

I'm very new to Unity (not to C# and programming as well) but I managed to achieve some goals very fast. But some concepts I still don't get in their full aspects. I'm developing a small multiplayer ...
0
votes
1answer
119 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
0answers
60 views

Blender-to-Unity: How to import shape key drivers

I have a driver for rotating the eyelids and a driver for modulating the mouth's shapekeys. I have created a couple of animations of "just blinking" and "just grimacing", but what would be most useful ...
0
votes
1answer
939 views

How do I export Physique animations without breaking them?

I've been trying to export a simple footstep animation that I made in 3ds Max, but it either fails to export or is broken (imports into unity missing a few frames, or appears to have imported but won'...
1
vote
0answers
47 views

Imported FBX animations (exported from Blender) have different, messier keyframes than in .blend file?

I imported an a character to Unity 2019.2.8 that I made in Blender 8.0, which was exported from that program in .FBX format. The animations play back the same (perceptually, but the keyframes are very ...
0
votes
2answers
320 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 ...
1
vote
1answer
263 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
1answer
200 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 ...
0
votes
1answer
22 views

Unable to enable IK on someone else's rig

I'm using someone else's character rig for reference but I'm not sure how I can enable IK solvers for the arms. The hand controller has a NURBS control with an ikBlend attribute, but when I try to ...
1
vote
1answer
2k 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 ...
0
votes
1answer
104 views

Animator transition doesn't get triggered when the player moves into a trigger area

so i want to open a door with a keypress but it's not changing the 2 bool's state any help? ...
3
votes
1answer
361 views

Animation timeline organization for Unity 5

I create stuff for AssetStore and use 3ds max and Unity 5. Can someone tell me how I need to work with timeline? When I create animation for several objects, I need to animate them one by one? (...
2
votes
1answer
241 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
2answers
494 views

Calculate ticks for animation delay

Hi guys I am trying to calculate the correct elapsedTime for each frame in my animation. Example I have a sprite called stance that has 20 frames I want to give each frame a tick delay property that ...
0
votes
1answer
314 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 ...
1
vote
1answer
103 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 ...
2
votes
2answers
931 views

Realtime inverse kinematics on unity apps for android and iOS

Hello I want to understand how much overheads do implementing inverse kinematics in realtime add. I am looking at an implementation as such demonstrated in the video. https://www.youtube.com/watch?v=...
0
votes
1answer
36 views

Aligning animation frame assets with different sizes

I have code that changes texture in each frame depending on the player's state - walking, idle. My problem is that the idle texture (from separate png) has a slightly different size, and due to that ...

1 2 3 4 5 25