Questions tagged [animation]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

I imported a blend file into unity which contained 3 animations but I can only see one [Unity] and I need three

I can only see one in unity: But there are three in blender: I thank thee answers.
1
vote
1answer
14 views

DOTween: How to make a spring bounce effect?

I am looking how to make a bouncing effect with DOTween, like when the object is attached to a spring. How can I make an effect like this?
0
votes
0answers
15 views

game button animation lag with Photon

Friends, I am making games using photon. But I could not do the delay animation as described in this link. The action appears to be late on the player according to the ping. Can you give an ideas ...
0
votes
1answer
20 views

When pressing both the key then releasing any1 key then the anination is not played

i give the running animation to the character and created a flip script...when press A then player move and flip to leff and animation is played ....when press D then player move and flip to write and ...
0
votes
1answer
51 views

High-performance update of a bitmap grid

I need to visualize a fast paced process in .NET in 2D. I am planning to use writeable bitmap 800x40px. The idea is like this - there are objects which are represented by very basic colours and sizes ...
3
votes
0answers
29 views

Is there a standard way to rig a humanoid?

I am using some placeholder humanoid models for my game, which will be replaced later. I am concerned that when I replace them, they will not work with my animations, due to different rigging. Is ...
0
votes
1answer
24 views

How can I disable an Animator from the Animation in Unity?

How can I disable an Animator from the Animation in Unity? The Animator enablement checkbox seems to be highlighted, which makes me believe that the enablement of the Animator is an animatable ...
0
votes
0answers
16 views

How to control an Animator without having all the animations on a Controller?

I am building a sims-like game where there are a lot of objects for my autonomous characters to interact with. Because of this, as much of the unique interaction code as possible is controlled by the ...
0
votes
0answers
12 views

How to serialize animation state?

In Unity, I have an Animator on a character. Upon saving/loading the game, I want to preserve the pose and animation state the character is in. However, I can see no way to read/write all the data ...
0
votes
1answer
21 views

How to use a Rigidbody on a game object after animation in Unity?

How to use a Rigidbody on a game object after animation in Unity? I want to play an animation fully controlling the positioning of the elements, i.e. ignoring physics. And after an animation plays ...
1
vote
1answer
19 views

Unity Animation makes object spawn at x0 y0 z0

I was making an animation for a coin in my game in Unity, and when I was testing the full game, I saw that the coin is spawning at x0 ...
0
votes
0answers
20 views

How can I modify the GUI of a default Unity window?

How can I modify the GUI of a default Unity window? E.g. I am trying to modify the Animation window. Here is what I am trying to do for the beginning: ...
0
votes
2answers
21 views

How can I prevent the following animation frames from affecting the state of the previous animation frames in Unity?

How can I prevent the following animation frames from affecting the state of the previous animation frames in Unity? E.g. I create a frame at 0:20 by moving a character leg. And that is it - that is ...
-1
votes
0answers
24 views

animation of an fbx file using MonoGame?

I have not yet actually imported an animated fbx yet (the one im importing has ONLY one model with no animation, it's just a blank mesh ) but i suspect 1 of 2 things will happen after i load it 1 ) ...
0
votes
1answer
16 views

Is it possible to prevent the collider 2D outline from hiding in Unity?

Is it possible to prevent the collider 2D outline from hiding in Unity? I am creating some animations in Unity. To create animations I select different parts of a hero and move them frame by frame. ...
0
votes
0answers
18 views

why animated tiles aren't animated?

So I got some code and I'm using pytmx to load the maps, but the animated tiles don't seem to animate in my pygame game. Is there a setting to change that or do I need to write the animation code ...
0
votes
0answers
11 views

animating humanoid r in unity. root transform position (XY) makes the model wiggels left and right in almost all animations

The animation works well with generic rig but in humanoid it starts wiggling when I fix all the axis and position... I have many models; how can I fix this problem keeping the humanoid rig? I got the ...
0
votes
1answer
26 views

Efficient sprite animation display methods?

I'm making a game sprite, with animations for transitioning to different states, such as idle, sleeping, etc. I'm wondering what the most efficient way to play the animations is. As of now, I have a ...
0
votes
1answer
27 views

Making a parent system with euler angles (gimbal lock problem)

I have a system where objects can be connected to each other - as the parent rotates the child objects will rotate too and child objects themself can rotate too. The system is already working, however,...
0
votes
1answer
16 views

Maintaining facing direction at the end of a movement

I want to make my 2D top-down walking animation stop and revert to the idle animation while continuing to face in the same direction as the previous movement. For example, when I go up then stop, my ...
0
votes
0answers
44 views

Why a method call in OnStateEnter and OnStateExit do not invoke in the correct order?

I have a class that extends from StateMachineBehaviour. All I want to do is invoke some code in a specific state's first frame and the last frame to trigger some ...
0
votes
0answers
11 views

Using multiple bone rigged objects for character animations (Unity2D 8 directions isometric movement)

my partner made the animations for our character in a 2d isometric game built with unity. He made 5 bone rigged bodies (each made of several sprites) and each has its own animator. He then made 1 ...
0
votes
1answer
23 views

Why does Animator component prevent the player from facing left?

I'm making a 2D platformer with Unity. A few days ago, I was testing the game; the player could face right and left based on its moving direction and animations were playing correctly. I exited ...
0
votes
1answer
31 views

What is the right approach for using foot ik for characters in slopes(Specially when in walk or run)?

i use unity but this question applies for any third person controller or enemy controller. i need to use foot ik on slopes(any condition and any kind of slope) to place foot on right places. as i ...
0
votes
0answers
25 views

Where to store polygons and polygon animation?

I thought about making something with ApeOut graphics long before it came out and its release motivated me to try - I'm having tons of fun but I stumbled upon a pickle. I can imagine storing polygons ...
0
votes
2answers
33 views

“Update cannot be an iterator block” when trying to wait for jump to finish

As of now, I'm getting a C# error (CS1624) stating that: The body of PlayerMovement.Update() cannot be an iterator block because void is not an iterator interface type. The error is within the ...
0
votes
0answers
13 views

How to “undraw” a SetPosition on LineRenderer?

I'm animating the SetPosition on a line renderer to show a laser site quickly "spin up" so the user sees the laser head outward. I'd like to do the reverse and when a user switches off the ...
1
vote
1answer
30 views

Is it possible to somehow change the collider points to match sprites during the animation in Unity?

Is it possible to somehow change the collider points to match sprites during the animation in Unity? I am using the Unity built in animtion recording feature. I would like to change the points of some ...
0
votes
0answers
7 views

Character is out of location after animation montage in UE4

so I have my running and idle animation working fine on my character but once I do the attack animation thru an animation montage, my character slowly floats off the ground and as I attack many times ...
1
vote
0answers
18 views

Best Practices for Random Enemy Animations?

For various animations for NPCs (getting hit with projectiles, shooting, dying) I've been creating 2-4 animations each in blender before exporting. Should I be doing this inside Unity with Animation ...
0
votes
0answers
10 views

Why does my mesh move when i add an avatar?

I've imported a wall model into my scene, it snaps to the other walls fine until I add an avatar to the model to animate it, then it moves. here's some picture to explain: The first picture in the ...
0
votes
1answer
19 views

How to edit a Rigged 3D Model without Ruining the Rig?

I have some rigged 3D models that I want to use. They came as .fbx. and sometimes I want to make some minor edits such as merging/moving/removing some vertices or something of that nature. The Problem:...
0
votes
0answers
23 views

Destroy the enemy only if the animation is played and touch the enemy

I am using Unity. I want to attack an enemy with a knife. So I created an object (the knife) and put an attacking animation to it. Now I want to destroy the enemy only if the attacking animation is ...
0
votes
1answer
23 views

Any problems with flipping a sprite by scale? (2d Platformer)

I am wondering if there are any problems with flipping a sprite on the x-axis using vector2 to tell which direction it is facing/flip. Though doing this helps me write less code for Ray-cast direction ...
0
votes
1answer
42 views

Best practice for play location of projectile sound effects?

I am encountering an issue where I have a bullet that is destroyed on impact which is cutting off my bullet impact sound effect due to the audio source being destroyed. I like the idea of the sounds ...
0
votes
0answers
24 views

How do you have rigged clothing animate with a base model?

How do you have rigged clothing animate with a base model? Or how can you coalesce multiple skinned mesh renderers or have them all be controlled by just one? Or, do you just have multiple animators ...
0
votes
0answers
55 views

Combining Rotation, Jump, and Crouch Animations with 2D Blend Tree

I have a 2D Freeform Blend Tree that I'm using to animate a character that can currently: Walk / Sprint Forward Walk / Sprint Backward Strafe / Sprint Strafe Left Strafe / Sprint Strafe Right Idle ...
28
votes
1answer
5k views

What is the standard practice for animating motion — move character or not move character?

I've downloaded a bunch of (free) 3d warriors with animations. I've noticed for about 25% of them, the 'run' animation physically moves the character forward in the z direction. For the other 75%, the ...
4
votes
1answer
556 views

Aseprite “Duration” vs Unity “Samples”

When creating a sprite animation in Aseprite, we can set the "Duration (milliseconds)", as show here: But when setting up the animation in Unity, we have to specify "Samples" as ...
0
votes
1answer
50 views

Why doesn't my UE4 character perform an animation?

I have it so that when the character collides with a pushable mesh, it casts to her blueprint and sets ispushing to true, and in her Animation Blueprint, it again ...
0
votes
1answer
16 views

How can I add a trigger variable negation in Animation machine's transition in Unity?

How can I add a trigger variable negation in Animation machine's transition in Unity? I have two transitions. First happens if ...
0
votes
1answer
60 views

How can I programmatically add a Controller to an Animator during runtime?

I am trying to set the Controller of an Animator during runtime using a script. When I click on the dot in the inspector manually, I can choose one called "Standard Walk", but have not found ...
0
votes
1answer
46 views

Humanoid Rig Animations Not Playing Properly

Although I have seen a few questions that are similar to my own, none had specific or clear answers that actually solved the problem, so here I am. Just recently, I have imported a rig from Blender ...
0
votes
1answer
124 views

Correcting imported animation to avoid hand going through the face of character

I've imported an animation from Mixamo called standing draw bow. When I use it with my character in Unity the hand goes through the face of my character. Is there a way to move hand a little outside ...
1
vote
1answer
18 views

Rigged blender model is deformed when imported into Unity

I am facing a strange problem with a model I rigged in Blender. Everything in Blender seems fine: All scales and rotations are normalized There is no unassigned vertex There is no weight bleeding ...
0
votes
1answer
88 views

How do I convert a humanoid retargetted animation to a generic animation?

In my game, I use a Generic Rig model called "hero_generic". I have a pistol-shooting animation. This animation was created for another rig, so I need to use Humanoid retargetting to use it ...
0
votes
1answer
30 views

I do not understand the code version of time based sprite animation?

I'm Universo and for the longest time had coding issues around the concept of time-based sprite animation basically, do not know how to implement it and any code or explanation simple or complex that ...
1
vote
1answer
215 views

Unity3D/AnimationRigging - Rig not a child Transform in the Animator hierarchy

I'm using Animation Rigging in Unity and was having some success until I realized my rig was built on the wrong GameObject. This was causing the Animator on the character to be overridden by the ...
0
votes
3answers
71 views

How can I play an animation as long as the player is on the pressure pad?

I'm making a 2D platformer with Unity. Recently, I implemented a pressure pad system. Basically, when the player triggers the pad, a door near there should be opened. The system works properly but the ...
0
votes
1answer
69 views

How can I create a pressure pad in order to open a door?

I'm making a 2D platformer with Unity. I want to create a pressure pad in order to open a door and I want the door to open when the player is on the pressure pad and close in few seconds after the ...

1
2 3 4 5
28