Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
11 views

Animation doesn't play on start

I've got a simple question, I'm making a mecanim animation to my character but walk animation sometimes start on diferent positions, sometimes it start using left leg, that's right, and sometime using ...
0
votes
0answers
22 views

Animator only plays the first few frames

i'm working on a Shooting Game as a project using UFPS as the platform and the Soldier Pack as the AI's Asset. However, i can't seem to implement the animations properly as they only keep on playing ...
0
votes
0answers
12 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
44 views

How to make a 2D sprite slowly vanish as it crosses a line — as if disappearing behind a wall?

...Except there is no wall. Only one of its edges. Here is what I mean. Notice how the lines "sink" into the center square. I've been trying to do something very similar, in Unity. My approach is to ...
1
vote
0answers
17 views

Blender - Exporting and Replicating Bone Animation

I'm having trouble replicating Blender bone animation in my game. Bones that have a vertical rest position (Euler(PI / 2, 0, 0)) are animated correctly (e.g. head, neck, torso, legs, shins), however ...
0
votes
1answer
31 views

Variable Problem when coding the Player Movement in GameMaker Studio 1.4.9999

In oGirlTest object I have a Create and Step event. Create: ...
1
vote
2answers
38 views

Animation confusion - Unity

Im pretty new to game dev in Unity, and thought I'd start off with a relatively simple game: Im planning to make a game where 3 cups are shown on a table, and a ball is placed beneath one, the cups ...
1
vote
1answer
29 views

Unity Animator default values overwriten

I have created a project to reproduce the problem I'm currently facing. I'm running a simple unity animation that moves a game object and expect to be able to reset the gameobject position. This can ...
0
votes
0answers
22 views

How to characterize UE4 mannequin in Motionbuilder with IK and gun bones?

What's the mapping template for characterizing UE4 mannequin in MotionBuilder to use with IK and gun bones in UE4 engine? Do I need to somehow constraint IK and gun bones (possibly IK root bones too) ...
1
vote
1answer
95 views

2d water animation is jagged and not smooth

As a solution for this question I implemented the shader with a test program: ...
1
vote
1answer
36 views

Compensate for animation time in multiplayer network game

I'm developing a multiplayer turn-based card game. In certain scenarios, the clients are required to perform an animation before moving on with the game. For example, the server informs the clients to ...
0
votes
0answers
14 views

Didn't quite understand the inverse bind pos matrix

The way I'm doing things right now is: For static meshes, I calculate a "toRootTransformation" 4x4 matrix for every node, based on the hierarchy of the nodes. Then for every node that contains a mesh,...
0
votes
1answer
116 views

Is it possible to make realistic animations in 2D?

I plan to make a skateboarding game and I am wondering about one thing: is it possible to make 2D realistic animations to simulate skate's and skater's rotations or should I resort to 3D for realistic ...
0
votes
1answer
13 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
27 views

How create pulse animation in Unity for a cube GameObject?

I want to create an animation like in Stack game(screenshot is below). What I need to do to create that pulse animation when block is placed?
1
vote
1answer
23 views

Simple animation text color change

I apologize in advanced if this is a trivial ask, but I am wondering if it is possible to use an animation to change the color of a Text element from teal -> white without any lerp, i.e the color ...
22
votes
4answers
3k views

How to animate abstract 2d top down water texture?

I currently implement a game with a top down view of the ocean. I use the following, a little abstract texture: The actual texture is transparent, I added the green-like color for clarity. The ...
1
vote
1answer
20 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 ...
0
votes
1answer
53 views

i need suggestion animation technique for 3d?

firstly you need to now i am beginner :) i am using opengl and for display vertex buffer object(vbo). i made 2000 frames animation model with blender and i export with (.obj) files and i upload all ...
0
votes
1answer
64 views

I imported both the rig and baked animation seperatly from Maya, but it's not working correctly

I am using the animation controller to bind the "jump" animation I did onto the rig itself. I don't get any errors. The animation plays. Except it seems to only affect the root joint only. Basically ...
0
votes
0answers
18 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
17 views

Player animation mismatches its movement input

I am using the code below to have the character's directional movement match its movement animations but when the player model has a non-zero y-axis rotation, the animations become mismatched. Code: ...
0
votes
1answer
24 views

How to get 60fps animation in terms of rounding/truncating position/alpha floats

I am wondering what gives the best animation performance running at 60fps with lots of objects. I have seen in a few places such as this that you should round or truncate your values so you don't get <...
0
votes
1answer
25 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
1answer
16 views

In Unity, how do get access to animation clips in selected model from EditorWindow?

I need to add some animation events or copy them from other models. So I decided to make a EditorWindow. Unfortunately there's not much information about this, and I'm stuck in here. ...
0
votes
0answers
8 views

How do I put duplicated, modified animation clip into original model?

I can't modify imported animation in Unity because it's read-only. To solve this, I duplicate that animation clip, so now I can modify the keyframes. However there's no way to add animation event/...
0
votes
0answers
23 views

How to disable animation interpolation to imported animation in Unity?

I have a model made by Blender that has animation in it. However when I imported this model in Unity and played the animation, Unity automatically interpolated position between frames. I heard from ...
0
votes
1answer
254 views

Unity: How to disable animation root motion

I downloaded some animations with root motion from Mixamo and the corresponding character. After created an animator with those animations and added it to the character game object, the root motion ...
1
vote
1answer
55 views

How is entering cover animation done for cover system?

I am trying to create a cover system for my 3rd person shooter game in Unity. My implementation is a basic one : ...
0
votes
1answer
22 views

Creating an animation for materials in code (Unity)

I have a function where you click on an object and it changes the color and emission of a specific material, every object has multiple materials with different order. ...
0
votes
1answer
42 views

I can add event animation but I can't add keyframe?

I am trying to add animation to my UI panel but the problem is I can't add a keyframe to my animation (the button is grayed out). But I can add event animation (the button is not grayed out). Here ...
1
vote
1answer
48 views

prevent animation from moving the character

As stated in the question I've this problem: I'm using Unity and when playing an animation my character moves from point A to point B without my consent. Here's the code: ...
1
vote
1answer
65 views

Character getting slow when reached to speific path point

I have manually placed some cube on the floor and aim to walk my character on those cube as they are appearing in the hirarchey and here is the walk code. ...
0
votes
0answers
37 views

Unity3D: Accessing the Animator from an attached to a state StateMachineBehaviour

So, basically, I have a GameObject, this GameObject has an attached MonoBehaviour and an Animator. It has a StateMachineBehaviour, and my idea was having the StateMacineBehaviour calling one of the ...
1
vote
1answer
63 views

How can i reproduce the bird to catapult animation in angry birds?

I've seen tutorials on producing an angry birds like game but non of them explain how to get the next bird on the catapult after the current bird is shot. Also how would i go about doing this if the ...
-1
votes
1answer
78 views

Converting code to work in godot with sliders

I have some Fragmentarium code that I would like to convert so it will work in Godot anyone have any ideas how I can do this? The code is below: ...
0
votes
0answers
26 views

Import animation from blender?

I got animation from mixamo to play it in my game and it works. I needed to change the right hand position at the end of animation. I made this change in Blender. Now when I export it to unity as an ...
0
votes
0answers
37 views

How I add Normal Maps to a 2D animation in Unity having multiple separate sprites?

Currently I'm doing some pixel art stuff in Unity, and I tried to add some normal mapping to add dynamic lighting. I have searched the web and found various articles, but there's a problem: all of ...
0
votes
0answers
20 views

Creating a smooth sliding animation for an object in Game Maker 2

Im currently trying to emulate this: I've tried a lot of different methods, using alarms weird self-made timers and I cant get it to work. And so far I only have very rough transitions (literally ...
0
votes
0answers
21 views

How do you calculate the center point of a skeleton when the pelvis is the root bone?

I have the center point of where the skeleton is supposed to be positioned. The root bone is the pelvis which is not the center of the skeleton in the y plane. I don't want to hard code the delta ...
1
vote
0answers
9 views

Deformable meshes based on torsional spring

I am trying to learn physics-based animation thanks to the book "Foundation of Physically-Based Modelling and Animation". They introduce the mass-spring model for deformable meshes. Although making ...
0
votes
1answer
34 views

Unity3D: Constant Jittering when using Mecanim IK in game Mode

So I am trying to aim my player equipped flashlight at the mouse. It works good but there is some jittering when seen in game mode but none when seen in scene. Btw it is an FPS game. I am getting good ...
0
votes
1answer
38 views

Import .fbx animation from Maya 2012 to Unity 2018

I have a grass made by PaintEffects tool (1) and "animated" by adding turbulence (2) and then baked with Maya 2012. And in Maya everything looks perfect - animation works. Problem is, when I'm ...
0
votes
0answers
9 views

Unity sprites in animator not loading until called

I have a gameobject with a SpriteRenderer, an Animator, and a custom script to change the current animation on the animator. The animations all consist of sprite swaps for 2D animation. The gameobject ...
0
votes
0answers
21 views

Smooth out animation that has a decimal as a speed modifier

My program is a simple arcade style game that uses a d-pad to move the player around the screen. At first the speed modifier was an int which didn't make the animation jittery across the screen, ...
0
votes
0answers
25 views

Unity- distorted mesh during generic animation

I have several characters made in Blender, that I want to parent with one Avatar (it's basicly the same rig, only some details in mesh are changed). I'm using generic type of animation. As you can ...
3
votes
2answers
79 views

What are the benefits or drawbacks of splitting the player animation system from the wall collision system into multiple objects pinned to each other?

I'm currently making a simple platformer in GameMaker Studio 2 and I've had people telling me that I need to separate the two things into an invisible wall collider mover and animation sprites pinned ...
3
votes
2answers
65 views

Suitable interpolation for animating explosions

Is there a standard interpolation function for animating explosions? Like there is with smoothstep or smootherstep for walking animations or cars going from point A to B. I'm assuming the explosion ...
0
votes
0answers
11 views

2d facing animation trigger problem

Hello first of all my english is not the best, Im using the 2d unity engine and im trying to setup the player animations, the walking animations are fine in the x and the y axis, but when i stop ...