Questions tagged [animation]

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

246 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
205 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
48 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 ...
0
votes
0answers
33 views

Bones are rotated wrong direction on play mode

I made animations from Blender and exported as FBX. However in Unity, default pose seems fine in edit mode. But in play mode, spine bones are rotated wrong direction: It's Humanoid type and each ...
0
votes
1answer
77 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? ...
0
votes
0answers
194 views

Prevent keyframe interpolation in imported model animation in Unity

I made first person model in blender. It also has animations in it. Most of animation works fine, but in some cases, Unity's keyframe interpolation makes wrong result. Note that animation was made ...
0
votes
1answer
36 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?
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 ...
0
votes
0answers
61 views

Calculate smooth transition between local space angles

I'm trying to calculate direction of moving character (to rotate it's animation). I have something like this: Character can have 4 cardinal directions. The rotation is calculated from the current ...
0
votes
1answer
37 views

Some of mesh unstable on animation only in Unity

I made first person model from Blender. In Blender, everything was fine. But move to Unity and hit play, some of mesh(Bullets in cylinder) are unstable, it's way to much shaking. Few months ago, I ...
0
votes
1answer
183 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
0answers
127 views

Turn and point Animation not ending in correct position

I have Right Turn, Point & talk Mixamo animation. I am playing animation in this order Play Idle animation Turn animation Point Animation Then, run Turn animation again with - speed to bring it ...
0
votes
0answers
2k views

Animator.SetTrigger does not trigger an Animation

I have a basic animator setup for my Unity Character which has a "block" functionality when pressing the E key. So far, so good. However I've made a transition from "Blocking Idle" to "...
0
votes
0answers
385 views

Play animation state's clip from particular time or fram

I have a controller where i have a animation state. I want to play that animation clip from specified frame to specifed end frame. is this possible? here is the snap shot of the controller currently ...
0
votes
1answer
199 views

How do I calculate the new Quaternions from translated points?

The code below is for a rag-doll using Verlet method, I have the correct points (or joints) positions, I just need the correct Quaternions, otherwise the resulting model looks like in the picture, I'm ...
0
votes
1answer
105 views

Supporting uniform/non-uniform scale in hierarchical animation

I have worked with hierarchical blended animation systems for a number of years, but I have never been quite sure how to handle scale correctly. The introduction of non-uniform scale is additionally ...
0
votes
1answer
140 views

Syncing first person arms and enemy character for struggle in games

Some FPS have it where your arms are struggling or doing something melee to a character model. Both the arms and the character you're interacting with are sync'd up in the animation. What's the ...
0
votes
3answers
425 views

Unity FPS Offline Multiplayer (MultiLan) Player Animation

I am creating an FPS game in local multiplayer. One player creates the hot-spot game, and the other one connects through WiFi network and plays the game. And i am doing this using unity MultiLan ...
0
votes
0answers
48 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. ...
0
votes
1answer
41 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
0answers
160 views

Rect Position doesn't reset if animation is canceled

I have a text component that displays a text with an animation. If I disable the GameObject while the animation is running, the Rect Transform doesn't reset to the original position, which makes the ...
0
votes
0answers
187 views

Using blend trees for a simple 2d character

Let me start by saying that I'm not a animator and basically have no idea what I'm talking about. The character in the game has 3 states : indle(looks at camera) walk left and walk right. I've set up ...
0
votes
0answers
27 views

Animator on a WorldSpace Canvas

Ok, so I have my world space canvas attached to the player object. In my script I have a reference like this : ...
0
votes
0answers
165 views

Animation with pivot-modification in Mecanim

Assume I have two animation cycles: Walking Crouching Both assume that the model's pivot is on the same level as the model's feet. Now I also have two animated transitions: Get on all fours while ...
0
votes
2answers
469 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
0answers
226 views

Should I use animation or simple object rotation in this case

I'm making game where players control hover tanks using Unreal Engine 4. Tank have a turret which rotates around for aiming. Turret pivot/center of mass is not exactly in joint with rest of tank so it ...
0
votes
0answers
207 views

Unity Mechanim makes physics behave weirdly

I'm developing a 2D Wrestling game in Unity 5 build 5.1.2f1. It's just the beginning so the character only has a number of animation states and a rigidbody2d. This is the state machine and these are ...
0
votes
0answers
1k views

unity how to make an animation reverse mid way through

I have a animation of several parts moving (think bridge) and would like the animation to reverse mid way through if a certain condition is modified (function call). I have the ...
0
votes
0answers
345 views

OpenGL MD5 Model Animation. Performance issues

A time has come when i had to implement an Animation to my Engine. I started with standart MD5 mesh/anim format since i find it easy to understand. I managed to implement a simple MD5 loader and i can ...
0
votes
0answers
884 views

Method to fake 3d in 2d top down game

I'm relatively new to game development and its terminology and I was wondering how to achieve the effect that is being used on the main character in this game: http://youtu.be/XK7whzmywno?t=2m38s To ...
0
votes
0answers
38 views

How to interrupt movement where the model can lag behind

I have a movement system for my characters where the model is allowed to lag behind the character's actual position. In a way it is like the model is being dragged on a string behind the actual ...
0
votes
0answers
443 views

Unity not updating sprite animations (possible bug)

I have a simple animation of a foot which i want to change sprites from one sprite to another, which is seen in the following two images: now as one can see in the animation timeline there is a ...
0
votes
2answers
320 views

Slick2D: Animation not being parsed from spritesheet correctly

I have a 960x960 spritesheet with each tile being 192x192. I initialized my spritesheet and animation like so: ...
0
votes
0answers
709 views

3ds Max Rigs to Cinema 4D

I exported the rig from 3ds Max as a FBX file and opened it with Cinema 4D. Everything works great, but the model and a different look to it. Also the mask on her head has a different texture, but it ...
0
votes
1answer
929 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'...
0
votes
1answer
31 views

Unity - How to move a user controlled animated gameobject programmatically?

I have a player controlled gameObject with an attached script and animator with it's related animations. It all works great. However the gameObject is on screen immediately on level startup. I want ...
0
votes
1answer
2k 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 ...
0
votes
1answer
175 views

Which MoCap Animation Sits

I have an UMA that I want to be in a sitting position basically forever. I assume I need an animation that will put him in an idle sitting position. I found the MoCap Huge Animation library for free ...
0
votes
1answer
397 views

Animator get number of animations (Unity)

In C#, how would I get the number of animations in an Animator Controller? So I want to find out how many animations there are in an Animator Controller, and have this number in script. Thanks in ...
-1
votes
1answer
1k views

2D sprite is 'blinking' when animation is playing

When I fire a bullet, instead of frames 4 and 6, the sprite selector in the sprite renderer component says "Missing (Sprite)" and 'blinks' for a frame, not showing anything.
-1
votes
1answer
69 views

How can I replicate jQuery's slideDown animation in SDL?

I'd like to know how I could make a slideDown animation in C++ using SDL. How would I implement the animation in SDL?
-1
votes
1answer
467 views

Why does the Texture from AssetManager displays black rectangles only (LibGDX)?

I loaded and get a texture from assetmanager but whenever I test the app it only shows black rectangles instead of the texture. I tried finding some probable cause for this in my code but I can't ...
-1
votes
1answer
717 views

My animation poses aren't showing up in my asset browser

I tried following this tutorial, where they eventually ask me to drag the Aim_Center from the asset browser onto the graph. The problem is, the only thing that ...
-1
votes
1answer
91 views

What's the difference between Box2D and tweening?

It seems like Box2D can be used to move sprites across the screen, so how does this differ from tweening? Is it that Box2D is for physical collision detections and tweening is just animations?
-1
votes
1answer
675 views

Drawing multiple sprites with clear screen for every frame

I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
-1
votes
1answer
335 views

How to implement cue-stick animation for a pool game?

Hello I am developing a Pool game, and I've been scratching my head about what formula is needed to implement an animation for the cue stick. The animation of the cue stick should look as if it's ...
-2
votes
1answer
380 views

Error running an Action in Cocos2d-x

In my game I have a "rocket" type and I want to run a sequence of actions on it. At first it must run an explosion animation and then remove itself from the game. For this I used the following code, ...