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

learn more… | top users | synonyms

0
votes
4answers
118 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
2answers
44 views

Get enum value “string”, and get int value of that

Sorry if the title is confusing, but I literally don't even know how to summarise this into a title. So here's the problem: I have a list of combat moves for a character. I have an animation for each ...
0
votes
1answer
49 views

Pixel Animation is tearing in Unity

I am working on a 2D game and I have created a simple sprite sheet. The sprite sheet represents a medkit. The size of the sprite sheet is 128x16 pixels with 8 different frames that animate the medkit ...
1
vote
0answers
22 views

Skin Mesh Animation Shader Issue

I'm having troubles with properly animating a skin mesh from an .fbx file. I feel like the issue is in the shader, but not sure what is going on. All I know is that I am getting unexpected results ...
0
votes
0answers
12 views

If I attach a RunAnimation to my Player and move it, the Camera starts to freak

If I make a RunAnimation for my Player in 2D, then there is one Spot it works and I can move perfectly but if I move my Player to a different position,my Player stucks in Midair and my Camera starts ...
0
votes
0answers
26 views

Best way to do discontinuous animation? Or: Best way to animate a character with a jerky center of mass?

I am using Unity and need to know how to use it animation system properly for… well let me describe it below. In this game I have this big 3D block-like character that moves in an unusual fashion ...
0
votes
1answer
103 views

FBX SDK - Animation not Correctly Displaying in Game

This issue seems to arise with joint rotation animation. If anybody knows how to help, it would be greatly appreciated. //-------------------------------------------------------------------------...
0
votes
0answers
61 views

How to sync animations of 2 different characters in Unity 3D?

I am working on an endless running 3d game. I have 2 characters. One of them is a small kid and another one is a security guard. Both characters and animations are exported as separate FBXs. The ...
1
vote
1answer
99 views

How to clamp a direction vector within a direction pyramid?

In 2D you can specific an angle range such as [-45 to +45] and clamp a 2D direction vector within that angle range. I want to have something similar for 3D. I want to specify the allowed directional ...
0
votes
1answer
70 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? (...
0
votes
0answers
42 views

Lip Sync Sprite Animation in LibGDX

Is there any free sprite package to achieve lip syncing animation ? This is what I have in mind. User will input text The character will talk with the appropriate lip sync. I know there are ...
0
votes
2answers
56 views

Running subsystems at difference update intervals

I want to update the rendering at 60fps, but the logic at some lower rate, say 15Hz. But if an only moves when the game logic updates, then it would appear to stutter badly especially for lower ...
0
votes
0answers
68 views

Responsive animation based on mouse position

I'm currently developing a topdown 2d rogue-lite game in Unity, where the combat will be mainly focused on archery and different adaptions based on archery. My problem is that I have a hard time ...
0
votes
2answers
132 views

Unity animations - Is the animation component really deprecated?

I was looking for a way to create simple transform animations for 2d objects. As example, I wanted to animate all the objects of the scene when the game is paused (i.e. I just want to move the objects ...
0
votes
0answers
38 views

Importing Fbx single animation, multiple moving parts

I've got a model from Maya which has a ring that rotates 0° - 60° over frames 1-300. I've exported to Fbx and imported into Unity. I can see the animation (Take001) and can trigger it. Everything ...
1
vote
2answers
458 views

Unity: detect animation's end

I need a way to detect if animation's clip finished playing and then execute a certain code. Here's some script, that I wrote (called in Update): if (Input.GetButtonDown ("Fire1") && ...
0
votes
2answers
41 views

Maya Rigging - Shoulder joint attached to head?

I'm fairly new to modeling and rigging in Maya; so my question is: in the image below how can I unbind the rigs head from the shoulder pivot? I've searched online for why this occurs and I can only ...
4
votes
1answer
103 views

Mesh's triangles don't move properly during skeletal animation

I've been trying to implement skeletal animation in my engine using this tutorial, and I've been having problems. Using the model they provided, I get results like this: But on some other models, ...
1
vote
1answer
122 views

Rotation in animation not working

I have a model of an SMG with arms exported from Blender and set to generic rig in unity import settings. I was creating an animation for this model in Unity Animation tab, it included changes in ...
0
votes
0answers
28 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 ...
0
votes
0answers
64 views

Start another animation on animated object after collision

I am developing a simple 2D game in Unity. I want to start another animation on already animated coin object when player collide with that coin. I have tried in many ways, but could not found anything ...
0
votes
0answers
41 views

Use Same Animation To All Object Having Diffrent Position

I am new in unity. create one animation to the object and create 10 duplicates of same object. I want to apply Same animation to the all objects without starting animation at the same time and without ...
0
votes
0answers
88 views

How to programmatically create an animation that linearly interpolate between two rotations?

I would like to programmatically create an animation that linearly interpolate between two angles (using the shortest path). I wrote the following code : Animation anim = gameObject.GetComponent<...
6
votes
2answers
329 views

How can I create a 2D “gooey”/“sticky” separation effect?

I want to create an effect similar to this animation where two shapes separate over time but are connected (for a time) by something gooey that stretches and eventually breaks. Like pizza cheese, but ...
2
votes
1answer
173 views

JavaScript 2D liquid flow

Brand new to games/graphics and I'm attempting to find a method to create a 2D liquid effect with JavaScript. Ideally I could adjust the viscosity and flow from a gas/fog effect to oil and between. ...
1
vote
0answers
13 views

How to add (not blend) non-looped animation clip to looped animation with Mecanim?

I have a GameObject with Animator and looped animation clip. This animation changes X coordinate from 0 to 10 and back. I need to add another animation to the first one that increases GameObject's ...
1
vote
1answer
245 views

How to play an animation backwards in Unity?

I know this question has been asked before but it all involves using the Animation(?) component, so that is no longer any good in Unity 5.3.1f1, I explain a bit more later. I'm trying to simply get ...
0
votes
0answers
25 views

Creating & loading animation from one class in libGDX

i'm new to libgdx and i wonder if i can create all the animation for my game in just one class so i can just call it to my main game screen class,if it is possible can someone teach me how to do this? ...
0
votes
0answers
50 views

Unity3D :Player won't go back to idle state

I'm creating a topdown 2d click to move game on unity (as most of you may already know due to recent post) and having trouble with the animation. I created two states, idle and walk, in the animator ...
0
votes
2answers
70 views

How are animations specified by an artist but implicitly understood by the game engine?

I'm trying to understand the relationships between 3D models (files) and the games that load and use them. As a software engineer, I'm willing to make the few following assumptions: I would assume ...
0
votes
1answer
25 views

Slaving OpenSceneGraph to an external time base?

I'm working on an OpenSceneGraph animation, and I want events in the animation to be synchronized to a time reference provided by my audio player (BASS or FMod). Yes, this is a demo :) . Which time ...
1
vote
1answer
71 views

How to Programm A Dialog box with a typewriter effect in Java? [closed]

Im am very new to java and programming so I might be a bit annoying to work with but please bear with me :D So As the title says I'm trying to figure out how to properly program a working dialog box ...
0
votes
0answers
177 views

Unity 5 blendshape on a part of mesh

I have a blendshaped face mesh on rigged character in Unity 5. I imported whole character with face from Maya using .fbx format. But I'd like to have a single mesh (body + face) since having separate ...
3
votes
0answers
179 views

How can I interpolate between two frames of a sprite-based 2D animation?

For example, I'm looking to animate at 60 frames per second, but clearly my artist isn't going to hand-author 60 frames of art for every second of an animation clip and even if he could, it would only ...
0
votes
0answers
27 views

Humanoid Jump Down Animation to Ground

I have one animation it climb to the wall and after jump down.But now when my model jump down is stands on air. but i want jump down animation finish on ground.How can i do this ?
0
votes
1answer
71 views

How To Update Animation in Unity After Changing the Names of Objects in Mechanim

I have an animation clip I made with Mechanim. But when I changed the hierarchy of the objects in the children, it stopped working! The text says ( Missing! ) Why is it breaking? How can I fix it?
1
vote
0answers
93 views

Unexpected behaviour after adding animator and Unity editor crash

I have realy strange problem which accured after adding animator(I suppose) to prefab Object. Situations looks like follow: I had object which have only sprite renderer, collider2D and script (...
4
votes
1answer
247 views

Doom-style 2.5D Movement Animations

I've started working on a demo for my 2.5D game. For a basic scene I figured I would just use the good old fashioned doom sprites textured to a double sided plane. Simple enough. But I've been ...
0
votes
1answer
84 views

Issues with importing bezier curve animation (curve does not distort?)

Hi guys i'm pretty new to unity and having a frustrating issue; I've created a spear gun with an animation using a bezier curve grouped to the main gun shaft and distorted using a bone (bone relative) ...
0
votes
2answers
96 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 ...
1
vote
0answers
28 views

Animated Typing Memory Usage with Immutable Strings

Right now I'm programming a game that has an animated typing effect typically seen in older 1980's and 90's role-playing games. An example can be seen here. The typing effect is generated by taking a ...
-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
36 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
106 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
22 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(); // ...
1
vote
1answer
97 views

Animation Scaling?

I have an animation that changes the scale of the GameObject but also happens to change the position as well. I do not want the position to be changed by the animation, only the scale. How can I do ...
1
vote
1answer
43 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 ...
0
votes
0answers
98 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
0answers
16 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
2answers
64 views

Code Logic's execution with respect to time Events

I have to show complete 24 hours cycle in Unity3d Scene. Where different kind of task will be executed in different Times. Suppose at 2pm I have to move a car, at 6pm An Aeroplane will land on ...