Questions tagged [animation]
The simulation of an in-game entity's motion, such as running or sitting or striking.
320
questions with no upvoted or accepted answers
5
votes
1
answer
331
views
LibGdx animation sequence
In my game the character movement animations work fine
but now I'm trying to do a sequence of programmatic animations,
for an enemy character, and it's proving to be a pain.
I'm just doing it on ...
4
votes
1
answer
241
views
Synchronizing actions with animations across network
I'm working on a project which allows players to take actions in time-limited turns. All players are connected to a central server, which is authoritative. That means the server sends info that a turn ...
4
votes
0
answers
312
views
Blend Tree animation problems at rotation
I have a Blend tree animation with two floats ( VelocityX, VelocityZ) that have idle, run , run right, run left ,
I use a pad to move it at world space
When VelocityX is -1 it run left, +1 it run ...
4
votes
0
answers
704
views
Unity Network Animations Not Smooth
I am attempting to learn Unity Networking using the new UNET framework. I have a functioning rudimentary 3rd person setup in which a host and a client can connect to localhost:7777. Animations are ...
4
votes
0
answers
61
views
MoCap data files applied to avatars using Mecanim
I am applying some animations (e.g. running) from this free MoCap package that I got off the Unity Assets Store, and as far as I can see from running the animation previews, they seem fine (i.e. ...
4
votes
0
answers
60
views
How to set default scale on a per bone basis
Does anyone know how I can change the default scale on a per bone basis in Maya? (I'm using 2016)
I want the scale to be 1,1,1 for this bone without making it smaller than it currently is.
So, I ...
4
votes
1
answer
959
views
Why are my animated objects (from Blender) always playing at the global origin in Unity?
I created and animated a sledgehammer in Blender 2.67b using an armature. The sledgehammer has one animation (created using the Action Editor) called "Idle". I parented the imported sledgehammer to an ...
4
votes
1
answer
534
views
How can I apply a "genie animation" to a CCSprite?
I am new to Cocos2D and following this tutorial.
I want to animate a CCSprite with the genie effect that OS X uses for hiding windows to the dock and showing them ...
3
votes
0
answers
51
views
How can I rig an object to animate from two different orientations?
As an example: Say you're animating a skateboard. The board has a nose and a tail. Normally, the nose points forward and the tail points backward. Now say you have two animations: idle and trick. The ...
3
votes
0
answers
54
views
Is it possible to export animations from Blender to Unity prefab without re-exporting entire character?
I have a fully rigged and animated character that I recently exported from Blender as an FBX to Unity. I need to make more animations for the character now but I am very tired of exporting the entire ...
3
votes
0
answers
127
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 ...
3
votes
0
answers
94
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 ...
3
votes
0
answers
66
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?
3
votes
3
answers
318
views
Animation clip not working
I am working on playing different animation of key press.Below are the animation element attached to my player
Initially run animation is played.I have written code to play "Jump" animation on ...
2
votes
0
answers
23
views
Best Practices for Random Enemy Animations?
For various animations for NPCs (getting hit with projectiles, shooting, dying) I've been creating 2-4 animations each in blender before exporting. Should I be doing this inside Unity with Animation ...
2
votes
0
answers
214
views
Mesh distorted during animations exporting from Blender + Rigify to Unity 2020
I finished my first 3D Character with a couple of animations using Blender 2.8 and Rigify.
I'm exporting it to Blender as FBX file and everything seems to work. The only problem I have is with the ...
2
votes
0
answers
61
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 ...
2
votes
1
answer
366
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 ...
2
votes
0
answers
211
views
Import Quaternions from a different coordinate system to perform an animation (DirectX to 3ds/Maya)
I'm working on a tool to import a biped from a DirectX engine that uses Left-handed coordinate system to 3ds Max that uses a right-handed one.
I managed to achieve the initial positions of the biped ...
2
votes
1
answer
109
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 ...
2
votes
0
answers
506
views
Unity applying forces using animation
I'm trying to make a croquet mallet swing to hit the ball using an animation that rotates the mallet mesh. The mesh appears correctly positioned to hit the ball in the center but the ball doesn't go ...
2
votes
1
answer
742
views
Unity: How to transition to a different animation during the blend phase?
I have a set of animations: Idle, start walking, stop walking, and walking full speed.
I have the animations all blending nicely...and the controls are fairly responsive during most of the motion......
2
votes
0
answers
206
views
Sprite animation in Android view
I'm looking for a way to have different sprite animations in individual Android views.
I try to use LibGDX and AndEngine but most I could find was how to get an Activity with the sprite animation.
...
2
votes
0
answers
460
views
using IK functions in MecAnim
The documentation on how to use IK functions clearly states that an Animator Controller with at least one animation for the character is required and then Layers ...
2
votes
0
answers
133
views
Proper setup for Mecanim standing jump animation
I have a character standing jump animation with that the character at start prepares for the jump (flexing downwards) and then jumps up in the air and i'm wondering how to get it working properly with ...
2
votes
0
answers
450
views
Unity - How to Receive "Animator" on AnimationEvent
How to receive "Animator" by parameter on an Animation Event parameter?
Its possible?
2
votes
0
answers
3k
views
Changing an Image's alpha through an animation in Unity
I'm trying to change an Image's alpha through a legacy animation in Unity, so that it fades in and out in a loop. The animation works: I can see the color updated ...
2
votes
0
answers
829
views
Export Blender 3D animation to be played by Android OpenGLES
Below code snippet shows the way to export coordinate of bones:
...
2
votes
2
answers
876
views
Cocos2d-x 3.0 animation frame by frame
As I know animations are actions. Now I need to play animation frame by frame. Say I have an animation from N frames. each frame should be played after ...
2
votes
1
answer
271
views
unity animation not starting
I have written the following code:
...
2
votes
1
answer
203
views
Importing skeletal animation from vertex coordinates in maya
I have files of different frames of an animation which have the vertex co-ordinates of a human skeleton in 3D space. I want to import the animation from these keyframes into maya to perform motion ...
1
vote
0
answers
76
views
Draw and render a sequence of 3D models with OpenGL
I have an application that will generate a 3D model for a dynamic 3D object (3D mesh + texture formatted as .obj file) at a time, so I end up getting a stream of 3D models (or 4D models?), and I want ...
1
vote
0
answers
43
views
Animation clip that acts relative to the object's current position
I am making a 2D game in Unity and I want to create an animation that works with any object and takes that object's position into account.
The animation should be a little bounce, basically move it up ...
1
vote
0
answers
39
views
How to make UI animation blend smoothly from the previous state when interrupted?
I have a UI that I want to animate via PointerEnter and PointerExit, but if an event gets fired while an animation is in progress, it makes the animation jump to the start point of that animation clip ...
1
vote
0
answers
32
views
How do I simulate the forces acting on this hydraulic system?
I've been trying to create an algorithm to simulate a specific hydraulic suspension system for animating a car rig. Below are the schematics for the hydraulic system:
All same-color lines are ...
1
vote
0
answers
94
views
How Can I Get My Player Animation To Remain Flipped After Turning?
I have a player character in Unity with two separate animations. The first is the body moving, and the second is the character's face moving. These two are not made as a single animation because they ...
1
vote
0
answers
80
views
Turnaround animation
So I have a Moose with 3 animations: idle, walk, turnaround.
Idle and walk are mostly self explanatory while the spritesheet for the turnaround animation looks like this:
I set an animator with 3 ...
1
vote
0
answers
51
views
Root Motion animation clipping through Rigidbody objects? (Unity 3D)
I am trying to program a climbing system. Player has rigidbody, ledge has rigidbody. Both also have Colliders, and the Player animator is set to use Root Motion.
When Player grabs ledge and climbs up ...
1
vote
0
answers
43
views
How do I iterate through keyframes in an animation clip?
I have an animation clip that animates a complex model.
I would like to ask if it is possible to iterate through all bones and their key frames like that:
(pseudo code)
...
1
vote
0
answers
96
views
How to animate a customizable pixel art platformer character?
I am working on a 2d platformer which is made up of pixel art. I want to make my character customizable like in stardew valley. How can I implement it and create animations for my game like run , idle ...
1
vote
0
answers
75
views
What settings should the Root bone have in Blender for Unity?
What orientation should the root bone have in Blender to behave correctly in Unity when using the Root Move?
1
vote
0
answers
53
views
How do I play multiple animations at once with an MonoGame skinned mesh?
I am working with the SkinnedMesh from this tutorial.
I am at the point where I want to let my character run (which already works), but when I press the punch key on my keyboard, I only want the upper ...
1
vote
0
answers
180
views
Control rig sequence is not in UE4 menu
In the Unreal Engine docs, it is mentioned that, in order to create a Animation Sequence using the Control Rig, it is possible to create a ...
1
vote
0
answers
16
views
Which leg does the each animation start with? ( Unity - Blend Tree - Locomotion System )
I am creating an animation pack for creating a movement system. I'm afraid I will make the animations wrong, as I think it is important that each animation starts from a specific leg, i.e. the legs ...
1
vote
0
answers
96
views
Unity PNG sequence animation changing position in animation
We are making frame by frame animation and we have a canvas size for animation. Attack animation is changing position in canvas. In Unity after the attack animation is completed it teleports back to ...
1
vote
0
answers
142
views
How to serialize animation state?
In Unity, I have an Animator on a character.
Upon saving/loading the game, I want to preserve the pose and animation state the character is in.
However, I can see no way to read/write all the data ...
1
vote
0
answers
14
views
Why does my mesh move when i add an avatar?
I've imported a wall model into my scene, it snaps to the other walls fine until I add an avatar to the model to animate it, then it moves.
here's some picture to explain:
The first picture in the ...
1
vote
0
answers
30
views
IK script causing glitchy movement
I have a FPS character game object, which consists of just the arms. I made this IK script off of a tutorial.
...
1
vote
0
answers
270
views
Character sinks into ground when switching animations
I originally posted this question on the unity forums, but no one answered my question.
Here it is:
Hello, I have been game developing since May and today I finally figured out how animations work in ...
1
vote
1
answer
132
views
How do I include a blend tree in my controller?
I want my player to aim up and down with a pistol.
I have stored an "aim up" pose in one anim file, and I have stored an "aim down" pose in another anim file.
I want to blend ...