The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [animation]

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

240 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
1k views

Rain World : How to have intelligent movement / animation?

In the project RainWorld the characters seem to move "intelligently" as they move "unrestricted". They seem to know "how" to move their limbs and "what" needs to be done. Here for an example the ...
1
vote
0answers
168 views

Continous horizontal animation of objects

We have to continously animate objects from right to left in a panel. The player has to pop the first object. If the first object could not be destroyed by the player and it reaches the left border ...
1
vote
0answers
229 views

Play videos via 3rd party library or as animation in libGDX?

I want to add an animated splash screen to my desktop game, which I develop using libGDX. Now I see there is no native support for videos in libGDX, so I guess I have two options: Include a 3rd party ...
1
vote
0answers
83 views

How do I correctly set up a Unity animation to move?

I downloaded a custom .fbx model from the asset store, imported it to my project and placed it in my scene. I then created an animator controller and added it to the object. To get the animations (...
1
vote
0answers
336 views

How to make a text of several letters animate, only with an animation

I wonder if it is possible to create an animation in a text with a single "animation". The problem is that for me to reach the desired effect I need to create an animation for each letter, as each one ...
1
vote
0answers
962 views

Unity Animator State Freezing

I am really new with Unity, I am making a game, but I am having some problems with the animators, my problem is that I am trying to add some animations to my menu, and also add new characters to my ...
1
vote
0answers
2k views

How can I animate 2d sprite rotation without interpolation?

I would like to animate a weapon being swung in 2 frames - all I'm doing is changing the position and rotation of the weapon sprite. However, I don't want unity to interpolate the rotation (generate ...
1
vote
0answers
328 views

Using fully cropped sprites with TexturePacker and Cocos2d

When using texturepacker, you can set your trim-mode to crop. This is nice, because when a sprite loads in cocos2d your bounding box will only be the visible area of your sprite - which is useful for ...
1
vote
0answers
1k views

Objective-C Moving UIView along a curved path

I'm not sure if I am approaching this the correct way. In my app, when a user touches the screen I capture the point and create an arc from a fixed point to that touch point. I then want to move a ...
1
vote
0answers
95 views

How do I remove unwanted areas while keeping the animated keyframes and wav in sync?

I recorded a motion-capture along with voice as fbx and wav. How do I remove unwanted time periods while keeping the animated keyframes and wav in sync? 3DS MAX 2012 is being used. Standard plugins ...
1
vote
0answers
274 views

OpenSceneGraph, multiple instances of a model

Im working on my first project using OpenSceneGraph. The project is a model flight simulator for one of my university courses, I want to be able to load airplanes (consisting of multiple models) and ...
1
vote
0answers
433 views

Converting Animation data from Maya to DirectX in C++

I am currently trying to export an animation from Maya and import to a program I am working on. One of the problems I currently have is that when imported, the mesh and animation data looks reversed ...
1
vote
0answers
242 views

3D Animations in XNA 3.1

Well, guys. I'm in a Game Design class at school. Before you ask "WHY ARE YOU USING 3.1 INSTEAD OF 4" -- I would like to point out that C# 2008, and .NET framework 3 is NOT my preferred environment, ...
1
vote
0answers
736 views

Unity - Mesh Deforms terribly while mixing animations

I have a simple game I'm working on to help me learn unity3d. In my Start() function, I've used the following code to set up my animations. ...
1
vote
0answers
533 views

How to make an oscillation move on opengl qt

I'm trying to make a character make an oscillation move. That is, the character will start by rotating to a certain angle, say 60 degrees, and then slowly come back to an upright position then rotate ...
1
vote
0answers
221 views

Blending effect on textures

Hi i am trying to build screen animation like flickering, interlace, color separation similar to old style malfunctioning Amiga screens. The intended effects are shown in this video. I am using ...
1
vote
0answers
173 views

How do I control an animation with a drag command?

I want to play an animation when someone drags a sprite from it's default position to another selected position. If they drag half of the selected position then animation will be play half. For ...
1
vote
1answer
104 views

Skeletal animation with multiple animations running at the same time

I've spent a long time attempting to figure out how complex animations are done and wrote quite a few different skeletonish frameworks myself, but they've never really came out good enough to be ...
1
vote
1answer
448 views

How do I make a 2D sprite flash green when tapped?

I have a sprite that is based on an image of a gray circle. When the user touches the sprite, I want the sprite to flash green, as in I want the circle to appear to turn green for 0.2 seconds. I tried ...
1
vote
1answer
717 views

How to resize animation in libgdx?

I want to draw an animation, the size of each frame is 500x500px but when I try to resize, the animation seems to rotate... Here the code to load frames and create animation: ...
1
vote
2answers
330 views

Why are the inputs not changing the animation on keypress?

I have been following this tutorial. You can watch 16:00 - 18:20 to see what I am trying to do. What should be happening is: I press a key, my animation plays and the parameters or Inputs get updated ...
0
votes
1answer
17 views

How to use Animation Player in Godot like Animated Sprite

So currently I am using the following code to play my sprites (AnimatedSprite Node). $Sprite.play("Animation Name") However now I want to use the AnimationPlayer ...
0
votes
0answers
31 views

Need help with a C26495 warning and E0513 error in a C++ SFML class

I'm currently learning to program a game with the SFML library.I dugged up a bunch of SFML tutorials on Youtube and found a really good one by 'Suraj Sharma': https://www.youtube.com/channel/...
0
votes
0answers
12 views

Unity Animator - bool transitions keep re-entering state while true

My StateMachine is triggered in a loop as long as transition boolean is true. I have made sure my code only runs once, where I set the animation bool: ...
0
votes
0answers
20 views

Problem with an animation transition

I'm working with a 3D avatar and it's my first time working with animations. I have already done one which goes from the idle animation to another animation. It does the transition when the value of a ...
0
votes
0answers
9 views

Animate an arc to a full circle

I'd like to animate and draw a ring / tube 3D geometry. Starting from 0 degrees all the way around to 360 degrees over a set time period. Kind of like a clock hand that leaves a trail behind itself. ...
0
votes
0answers
27 views

Using 2d sprite characters from asset store

noob here So I recently downloaded this asset https://assetstore.unity.com/packages/2d/characters/2d-archers-sprites-18748 from the asset store. All the animations work great (walk, jump etc) but I ...
0
votes
0answers
17 views

Inverse kinematics behaving weirdly/

I have been trying to figure out why my player character crouches like this when I use inverse kinematics on it. I followed this tutorial: https://docs.unity3d.com/Manual/InverseKinematics.html?_ga=2....
0
votes
0answers
18 views

How to move an object while the animation is going on?

I added a jump animation with the character in unity and to move the character I have some code like this: ...
0
votes
2answers
25 views

How come changing the speed of an animation isnt making the animation speed up?

I made an animation of a bow string being pulled and another animation of the string being released but my issue is that I need the string to snap back quickly. I changed the speed of the release ...
0
votes
0answers
10 views

Blender Video Sequencer: I try to load 76 images, but length is 48 frames, can't change

In Blender 2.8, I am trying to load a sequence of already-rendered images from a previous project I did (also in 2.8, but hey, these are just .png's) into the image sequencer. I set the frame rate in ...
0
votes
0answers
9 views

How do I create a simple animation for use in Unity?

I'm trying to create a simple shrinking animation for use in Unity. The goal is to create an animation that shrinks the object to be 0.1 scale. I've created an Animator Controller with an empty state,...
0
votes
0answers
26 views

Multiple updates for Unity animation per one method call

I'm trying to do some simulation where I move objects procedurally in a loop within one method call. So instead of using Update(), method I do for example: ...
0
votes
2answers
45 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
0answers
11 views

How to activate ENABLE ROOT MOTION on state machine?

In this question (also asked by me), I was having trouble putting the animation on my object: https://blender.stackexchange.com/questions/150901/error-in-exported-animation-position-size-blender-to-...
0
votes
0answers
10 views

Animation of changing TMP UGUI letters not showing in preview

In my latest project (Unity 2018.4.8f1 - common Mecanim animation) I want to animate a creature just by moving, scaling and changing the letters, it is build of. So I have to change the text of a <...
0
votes
1answer
18 views

Does Unity animation event send a message to every object which owns it?

I made game objects A, B. And each has animator, and it has the same animation. And they are inherited class of Base class. I trigger animation on A object, and the animation has callback and invoke ...
0
votes
0answers
16 views

How to add simple animations into static fbx files?

I'm looking for a way to take a static fbx file and do basic position and rotation animations on models and the camera, using a text/csv/json file with position and rotation information for each item ...
0
votes
0answers
19 views

Understanding ticksPerSecond and duration with skeletal animations

That's my first question here so i hope to do all correctly. From various weeks i started surfing the net about Skeletal animation aiming to add a simple animation controller into my small game engine....
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
0answers
15 views

Unity animation editor's object rotation is doing weird

When using the Unity timeline to create an animation or by using the animator itself, I am unable to properly rotate an object. Whenever I do rotate it, it will usually go something as follows: From 0 ...
0
votes
1answer
87 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 ...
0
votes
0answers
20 views

Unity creating 3d clothes for game character

I am trying to make a system where players can change out their clothes with others if they like, and even layer up clothes such as covering a shirt with a jacket, then an armored vest. I have ran ...
0
votes
1answer
25 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 ...
0
votes
1answer
23 views

How can I apply setActive to a UI element after an animation finishes?

I have an object animation which plays on the opening of a scene. When the animation is over I want the UI slider to be setActive - allowing the user to rotate the object. I have both these elements ...
0
votes
1answer
31 views

Animation is not starting even though collider is triggered?

progress is steady but it is a bumpy road. I have removed the animation script from my character and reworked it into the controller script. I have also added new animations. Doing this required ...
0
votes
0answers
18 views

Alter shooting animation of character, based on its aim height, and attach weapon in Unity3D?

I have a rigged character, for which I downloaded shooting animations. But it always aims at the same height. How could I make it look for example upwards X degrees if the player is aiming that way? ...
0
votes
0answers
37 views

Unity Making a parry system where weapons collide (For honor style)

I've always been fascinated by games like For Honor and the way that when you parry an attack the weapons collide. Because of this, I wanted to implement such a feature in my own game. However, I ...
0
votes
0answers
12 views

Animation doesn't play the same in-game as it does in the editor

When I play the animation normally without starting the game in Unity, it looks as desired. But when I play it in the game, the hand doesn't instantly scale to -1 it just slowly does it, as you can ...
0
votes
0answers
22 views

I can create a keyframe in Unity Animator but it wont save the new position!

I have been searching for a solution to this for literally hours. As you can see, I haven't found one so I'm posting here. I'm relatively new to Unity, and I'm using the Animator Window to create an ...