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

learn more… | top users | synonyms

1
vote
1answer
155 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: Texture fireSheet = ...
-4
votes
1answer
32 views

m_Entries is undefined [closed]

I am following this tutorial and this guy puts in his code m_Entries and doesn't explain it at all at least I think. So any one who has done skeletal animation show me what he is talking about by ...
0
votes
0answers
34 views

How to edit certain positions of characters body parts, Unity3D

I have a first-person shooter character. I would like an animation to only effect everything below his hips. Masking the desired body parts has solved half of my problem. When I play the game, the ...
2
votes
1answer
60 views

Switching character and keeping animations in Unity default third person controller

This is probably a ridiculous question, but I am doing a school project in Unity and am trying to create a basic game. For movement I want to use third person controller and since this is very basic I ...
1
vote
0answers
17 views

Cannot obtain correct bone transform matrix data

I tried to obtain bone transform matrix for animation implemented with Directx11 and FBX sdk. I found this function in some web resources: fbxCluster->GetLink()->EvaluateGlobalTransform(); // ...
2
votes
1answer
182 views

Understanding animations of controllable characters

I am a newbie trying to learn basics of Unity3D (5) before starting to do the real thing. Even though I tagged it as Unity3D, the logic should be the same for every kind of game engine. So I will be ...
1
vote
1answer
41 views

Skeletal Animation - Caching global bone transforms

Very often I see skeletal animation implemented like this: On Init - store bone's local transforms and inverse bind pose On Update - traverse the skeleton tree, multiplying local transforms on the ...
1
vote
1answer
272 views

problem with SCNTransaction in Scene Kit

I'm trying to move an object over a period of ten seconds from y coordinate 0 to y coordinate 10. the object is created at y coordinate 0. The problem is when the animation starts, the object pops ...
0
votes
2answers
236 views

How to make the capsule collider that comes with character controller follow the animations

I'm making a 3D endless running game like subway surf. When I swipe/press down arrow the slide animation starts but the capsule collider isn't following along as it doesn't slides along with the ...
0
votes
1answer
99 views

Unity 5 Animation attaching

I have created the walking and idle animation for my fps player. I've added a JavaScript script to access it, but when I run it and press button(w), it stops and says that the animation is not ...
0
votes
0answers
63 views

How do i disable inherent scaling of bone joints in Unity?

Is there a way to disable inherent joint scaling in unity? In other words, stopping child joints from inheriting multiple scales from each bone higher on the hierarchy. Basically I want each joint to ...
0
votes
2answers
244 views

How to destroy object after animation

I've made an object and when the player has pick it up, rise it up and stop it out of screen. But because you can see the shadow of that object, I will destroy it after the animation has played. But ...
0
votes
0answers
12 views

Java keyListener animating bufferedImages

I am making a game similar to a photo scramble/unscramble game which requires the use of keyListeners. I set up the logic but when I code the animations, they just sit there and do nothing and ...
0
votes
1answer
45 views

m_BoneMapping is undefined in OpenGL Step By Step Skeletal Animation Tutorial [closed]

I am new to this website I was following this specific tutorial on skeletal animation and I have a good idea on what it is, but when I was following his implementation he used a variable called ...
0
votes
0answers
28 views

Simple motion capture from mouse or tablet

For simple animations (like a message box that comes into view with a 'bouncy' feeling) I can easily mimic how it should animate with my hand. That is: I know how it should accelerate/move. It would ...
1
vote
2answers
132 views

Unity animation won't play on trigger. What do I do to fix it?

Ok so I added a play animation line to my trigger script. I made an animation, added it to the trigger object, attached the animation to the trigger, and tested. The target goes to the trigger as it ...
4
votes
1answer
559 views

UDK: Animating characters with weapons

I imported a custom character and a pistol model to UDK and both work, but the pistol doesn't appear with the animation of the pistol when I shoot or reload... Also, the character doesn't change its ...
0
votes
0answers
38 views

UFPS - Player Animation Setup - “Enabling animation, headlook and ragdoll handler”

Description: I am following the tutorial from the manual for UFPS for setting up the player for animations: Player Body >> Player Body Setup >> Tutorials >> Enabling animation, headlook and ragdoll ...
1
vote
1answer
189 views

Add Existing Animation

I have several animations that I am using on a GameObject. I switched the folder they were stored in, and they got detached from the gameObject. How can I add the existing animations to my ...
1
vote
1answer
75 views
0
votes
0answers
32 views

Sprite animated position outside unity

our artist chose to animate the position outside unity because he want the precision of how the animations should look like what this means is when the monsters is jumping he literally moved the art ...
0
votes
1answer
63 views

Basic Moving/Anim Script [Unity CSharp]

So, I got this to do the anims for my sprite in Unity 2d... using UnityEngine; using System.Collections; public class Move : MonoBehaviour { public float Speed = 2; Animator anim; // Use this for ...
10
votes
1answer
214 views

how can i make my game more intuitive without a tutorial?

i am currntly working on a mobile game app. the game details a tree with several branches on which diffrent types of birds fly and land on. every bird has a diffrent weight and the purpose of the user ...
0
votes
2answers
734 views

How to make legacy animations run in Unity in unscaled time? (Pause game related)

I'm relatively new to Unity, and I've been having a very difficult time getting the legacy animations to run in unscaled time. I need to pause my game, and as soon as it pauses, I need to have my ...
2
votes
0answers
59 views

Putting each animation on a thread

I'm trying to make my game as friendly to multi-core as possible. as such, i'm putting each animation on a new thread. I was hoping someone could check out my proof of concept code in java; an ...
2
votes
1answer
69 views

Why is Unity UI Image color not being animated? [closed]

Animation is changing the color of an UI Image but the color only changes only in the inspector but not Game/Scene view. In this video I demonstrate the problem clearly.
0
votes
1answer
99 views

Why are my Mecanim animation curves not staying within the entered range?

I have an in-place animation that I added curves to (In the rigged FBX which has the animation). I created 2 float parameters in the relevant controller with the same names as the curves in the ...
1
vote
0answers
42 views

Applying Animation to specific parts of a humanoid model

I have imported a humanoid character from AutoDesk Character Generator into Unity. Once you specify that you want the character for Unity, a humanoid skeleton in integrated, in order to use MecAnim. ...
0
votes
1answer
77 views

Rotations of a Rubik's cube

I made a Rubik's cube by arranging smaller cubes. Now I want to apply animations to it. For that I am choosing to use the Rotate class and set the angle of rotation and the axis of rotation,like this ...
0
votes
2answers
152 views

Unity 3D: How to stop/reset 2D sprite animation after releasing key?

Im following a tutorial to create animations with a 2D sprite character. But i put in my own. Which has 8 animation positions. For some reason when my guy walks around,then stop, the walkings ...
4
votes
2answers
98 views

How can I manipulate a static 2D sprite so that it looks alive?

I've got a stick figure in the corner of my UI, but I don't like the way he's just standing there, without moving. I'm stuck without additional frames of animation, so my only recourse is the manually ...
0
votes
0answers
76 views

Applying animations to 2x2 Rubik's cube

I built a 2x2 Rubik's cube with javafx and my next goal is to apply animations to it. For that I need to keep track of the individual cubes. But I could not find one. Then I simply set up four Group ...
1
vote
0answers
34 views

Matrix stack from direction vector chain

I've implemented an IK system for a grabber arm based on several straight segments, starting from a fixed point. The IK is based on a mass-spring simulation, which eventually rests. What I'm left with ...
4
votes
1answer
567 views

When to use a blend tree vs state machine for animation

Im an experienced game dev hobbiest making my first game with 3d animated characters (in Unity) and am struggling to figure out when to use blend trees vs animation state machines. I understand both ...
1
vote
0answers
699 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 in realtime in the inspector. But the ...
2
votes
1answer
442 views

Combining several animations into a single FBX

I'm trying to figure out a workflow for preparing character animations for Unity so that they are all combined in a single FBX file. The advantage as far as I see it is that it then uses only a single ...
2
votes
0answers
50 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. ...
1
vote
1answer
95 views

Confused about this Timer function C++

I am confused about the argument "m" of this function. I also need to know how to make this work. I am working on a simple 2d game and I am really new to programming. I don't know how to make things ...
18
votes
5answers
2k views

How to compress game frame by frame animation to a minimum on disk

I developing a game like Age of empire (buildings on map) and for every building I have a sprite sheet for its animation. I am using frame by frame animation to animate the building ( not aware of any ...
5
votes
2answers
6k views

Change alpha to a Frame in libgdx

I have this batch.draw(currentFrame, x, y, this.parent.originX, this.parent.originY, this.parent.width, this.parent.height, this.scaleX, this.scaleY,this.rotation); I want to apply the alpha that ...
1
vote
1answer
57 views

Unity animations not transitioning properly

I am currently trying to animate transitions between four different directions. I have four total animations for walking, and another four for the idle state. I cannot seem to figure out why when I ...
1
vote
0answers
48 views

How to create animations for a game like Creative kill chamber?

Lately, I have been playing Creative kill chamber game (https://www.youtube.com/watch?v=SW6PyOy34fY). This game is a flash game where gameplay is "hardcoded". I mean, it is a game where player can ...
2
votes
0answers
69 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 pane, IK pass, etc... However, I ...
0
votes
1answer
152 views

Blender FBX exports to Unity3D have incomplete animation sequences

Using Blender, I have rigged and animated this model with this attack action. I exported this model to an FBX format and imported the said FBX file into my Unity3D project. However, when I imported ...
0
votes
0answers
56 views

Unity MecAnim Bone Structure

I am trying to modify the bone movements in LateUpdate similar to the following pseudo-method: void LateUpdate() { updateLimb(Transform[] pose, Transform[] model); } Essentially, I want to ...
0
votes
1answer
282 views

How to animate child from parent in the Animation view?

For some reason I can't change the value of the scale properties. The scale properties belong to a child object, and I added them with "add Property". What I'm trying to do is, adding an Animation ...
1
vote
1answer
69 views

Prevent character's animation from causing its mesh to interpenetrate itself

I'm making a game with a pretty large group of people that respond to things the user does. They all have the same animator attached, but the animations that play differ using a script with a ...
2
votes
3answers
9k views

Playing an animation relative to current Transform in unity?

I have an animation created with the built-in dope sheet. It plays correctly but I would like it to be played relative to current object transformation. For example I have a palm tree that moves its ...
0
votes
1answer
177 views

How do I organize and sync multiple animated sprites in Unity2D?

I have a human with three parts: legs, body and head, 2D, top down view (GTA 1-2 alike). Head does nothing, legs have walking animation and body has 2 animations: walking animation (moving hands which ...
0
votes
0answers
40 views

Moving a RigidBody via camera vector?

I have a third-person/first-person controller that moves a character via rigidbody. In 3rd person this looks alright but in first-person this movement is sub-par because the camera jitters and one ...