Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1answer
37 views

Pause Tiled animation during game in LibGDX

I’m using Tiled with LibGDX and I have some animated tiles. When the game is paused I would like their animation to be paused as well. Is this possible? The map is drawn with ...
0
votes
1answer
48 views

how to make the capsule move during anims

I'm trying to make a cartwheel/ dodge to the side in ue4 but when the animation plays it moves out of the capsule and slides back. Is there a way to make the capsule move with the character in the ...
0
votes
0answers
20 views

Unity creating 3d clothes for game character

I am trying to make a system where players can change out their clothes with others if they like, and even layer up clothes such as covering a shirt with a jacket, then an armored vest. I have ran ...
1
vote
0answers
32 views

How to run different animations with same suffix for different public objects?

I would like to be able to run the corresponding animation (ending with "Get" in the title) for whatever item GameObject I plug into this treasurebox. I made 2 prefabs for "item-get" animations today....
1
vote
0answers
35 views

Where should my 3D character's pivot/anchor be?

I created a 3d character with some animations a month ago and when testing the character in my game, I notice there are some weird interactions with the scenery that have me worried, particularly when ...
0
votes
1answer
26 views

Aligning animation frame assets with different sizes

I have code that changes texture in each frame depending on the player's state - walking, idle. My problem is that the idle texture (from separate png) has a slightly different size, and due to that ...
0
votes
1answer
35 views

How to stop an animation from looping

I want to make Unity play a squish animation when the player hits the ground, but only once, until the player jumps and hits the ground again, although Unity its constantly detecting that the player ...
0
votes
1answer
64 views

Unity: 'Quaternion.RotateTowards' animation is too fast (instantaneous)

I have a 'block-on-a-hinge' scenario where I just want it to smoothly rotate into the position of a stair step. I messed with this for a day and finally verified that my start and end angles are ...
0
votes
1answer
24 views

How can I apply setActive to a UI element after an animation finishes?

I have an object animation which plays on the opening of a scene. When the animation is over I want the UI slider to be setActive - allowing the user to rotate the object. I have both these elements ...
0
votes
1answer
44 views

Instant Animation Transitions? Nothing I read about is working

re-imported my character today with 3 new animations (JumpStartState, JumpDownState, JumpEndState) and moved all animation code into the PlayerController script. All of my animations are handled by ...
0
votes
1answer
32 views

Animation is not starting even though collider is triggered?

progress is steady but it is a bumpy road. I have removed the animation script from my character and reworked it into the controller script. I have also added new animations. Doing this required ...
2
votes
1answer
67 views

Unity character vibrates during idle animation

My player character vibrates in his idle pose for some reason. He has 3 animations (IdleState, WalkState, RunState) and the latter 2 run smoothly, but when I don't provide directional inputs and he ...
0
votes
1answer
19 views

Armature's bone can't be rotated in Unity when I'm trying to rotate its chest toward its looking direction?

I want to rotate my character's chest, so its looking direction will be visualised correctly. But I think that the animation controller doesn't let me. I logged its rotation before and after I set ...
3
votes
0answers
24 views

Is it possible to export animations from Blender to Unity prefab without re-exporting entire character?

I have a fully rigged and animated character that I recently exported from Blender as an FBX to Unity. I need to make more animations for the character now but I am very tired of exporting the entire ...
0
votes
0answers
19 views

Alter shooting animation of character, based on its aim height, and attach weapon in Unity3D?

I have a rigged character, for which I downloaded shooting animations. But it always aims at the same height. How could I make it look for example upwards X degrees if the player is aiming that way? ...
0
votes
0answers
45 views

Unity Making a parry system where weapons collide (For honor style)

I've always been fascinated by games like For Honor and the way that when you parry an attack the weapons collide. Because of this, I wanted to implement such a feature in my own game. However, I ...
0
votes
2answers
27 views

How can I use the animation transitions?

So I want to make my animation transitions smooth, thats why I made transitions on the animator, but how can I activate them if I use trigger paramaters??? Heres the code: ...
0
votes
0answers
13 views

Animation doesn't play the same in-game as it does in the editor

When I play the animation normally without starting the game in Unity, it looks as desired. But when I play it in the game, the hand doesn't instantly scale to -1 it just slowly does it, as you can ...
0
votes
0answers
22 views

I can create a keyframe in Unity Animator but it wont save the new position!

I have been searching for a solution to this for literally hours. As you can see, I haven't found one so I'm posting here. I'm relatively new to Unity, and I'm using the Animator Window to create an ...
0
votes
0answers
43 views

How do I animate and move an NPC?

There is c++ plugin written with ScriptDragon, and here is trouble with SplineTranslateTo and TranslateTo - no moving animation: ...
0
votes
0answers
10 views

How to keep player position after animation stage change it in Unity2D?

Having some difficulty implementing and figuring out how changing the position through animation should work ... I have a child object with a single animation that only changes the image (player ...
0
votes
0answers
18 views

Javascript or Animation in general tween, spring, mouse tracking, mixing

Back story. I am a web developer and i can pretty much do anything on the web. When i first started doing some programming it was in flash actionscript 3, and i was 14 and now i am 29 and still i ...
0
votes
0answers
11 views

Frog-Lilypad Animation: Animate Unity2D Tilemap based on Player position

I'm developing my first Unity game, involving a frog jumping on lilypads. As the frog leaves a lilypad, I would like it to sink beneath the surface. Here's what I have currently, with the lilypads as ...
0
votes
0answers
39 views

How to import JSON animation file into Cocos Creator using Typescript?

I'm in the process of making a game and I want to import json animation file from remote resource into the game using Typescript, currently using Xampp as the localhost. There is no problem for me to ...
1
vote
1answer
30 views

How to set keys for emission on/off for a prefab?

I am making a prototype for a Mario game and am having difficulty completing a canned animation for a prefab. There is an item box asset that has 3 materials and an "ItemGet" animation. One of these ...
0
votes
1answer
45 views

How can I restart an animation?

The first time the player clicks a button, my animation plays properly. The problem is that when the player presses the button a second time, the animation does not play. Here is the code I'm using ...
0
votes
0answers
246 views

Unity “Convert To Entity” does not work (Render) with “Skinned Mesh Renderer” for Animations

I'm trying to make a game with Unity's ECS and Job System. I came across the issue where, Convert To Entity does not support Skinned Mesh Renderer. It does not render the mesh. I need it for ...
0
votes
0answers
14 views

Unity Animating Function Calls

I would like to use the Animator for calling a function at certain intervals. I have a function that changes sprites of an object and also does a couple of other things, that cannot be simply added ...
0
votes
0answers
22 views

How can I reduce memory use when implementing an animation in UE4?

We've already made a tank's track spline animation but it's using a lot of memory because it's implemented inside a tick function. So, it needs to check every second but as you may know it requires a ...
0
votes
0answers
62 views

Animation Rigging - Create an animation on editor

With the package "Animation Rigging" is possible to download the samples. But in the "animation window" it show the animation only with FK and not with IK. With the package "Animation Rigging" is ...
0
votes
0answers
17 views

Android problem with looped background

I'm making some sort of clone for FlappyBird, but with some adjustments. I'm trying to have an animated background running infinitely times. I already have the picture mirrored so the flow will be ...
0
votes
1answer
46 views

UI background animation makes camera render beyond canvas, need fix?

I have a background animation for a menu where I have to make the background larger than the canvas and drag it over it. Even though I am using a panel the same size as the canvas as a mask, this ...
0
votes
1answer
93 views

Unity2D: Avoid attack animation looping during combo

I am trying to implement a combo system in my Unity project. I started with a coroutine to call a single attack and it goes relatively smoothly, the problem occurs when I try to modify said coroutine ...
0
votes
1answer
64 views

How to calculate IsGrounded more effective?

...
3
votes
1answer
70 views

How can I draw an animated vector field on a map?

I want to render an animated vector field map similar to this wind speed visualization. How can I do this?
0
votes
1answer
42 views

Animation imported from Blender into Unity via FBX doesn't play?

I started building this model in Blender and gave it a simple animation that rotates the board about the axel. ...I exported it as FBX and imported it into Unity. I can see the animation is stored in ...
0
votes
1answer
16 views

Exported shapekeys to unity don't play correctly (unity 2019 + blender 2.79)

Hopefully someone can shed some light on this I select all relevant parts of the mesh and armature etc and export to FBX 7.4 for use in Unity3d The model itself displays fine and so does the armature ...
0
votes
0answers
80 views

Update position using animation curves

Implementing the suggestions from this answered question, I am trying to move my player according to the animation. To do so, I am adding the transform.position property to the animation and then, ...
0
votes
1answer
115 views

Unity3d : Access the OnClick parameters of Button in a script

I have a button and I have attached another script "PlaySound" for this button, which plays audio on button click. As soon as the audio gets completed, I want to ...
1
vote
1answer
93 views

Unity 2d Animation from spritesheet: How can I move the character according to the animation?

I am trying to implement an attack animation that should end up in moving the player by some distance. The animation would be something like this: As you can see the position of the player should ...
1
vote
1answer
97 views

How to add a animation to myPlayer

I'm currently making a shoot em up in monogame. I want to add just one animation to my object. No commands or transitions between animations for different actions: just an object swapping between ...
1
vote
1answer
115 views

What technique can I use to animate interaction between tiny objects in a sim game?

In simulation games like Sim City and Factorio, there are numerous interaction between tiny objects that needs to be animated. e.g. random people walking on the sidewalk, then waits for a bus, then ...
0
votes
1answer
10 views

Trying to add my model's animation to the animator in Unity but it doesn't work?

I made an animation for a model in blender, then saved and imported it into Unity. In the preview, I can see the animation playing, but when I try to click on 'loop time' or to drag it over to the ...
1
vote
1answer
106 views

My position is “changing” when handling animation

I'm trying to learn Monogames(Old XNA) and how to develop a 2d game. I'm in the process of animating my sprites. It works but there are somethings that are weird to me. For some reason when ...
0
votes
0answers
17 views

Animation is going wrong when it's in the play

I made a character on Fuse (Steam), and used the mixamo.com to get an animation to the character model, after the rigging process i exported the animation to the unity with the .fbx format. When i ...
1
vote
1answer
58 views

Optimizing Hitboxes

Way over 90% of the performance cost seems to be coming from colliders parented to animated bones. If I disable Motion & Animation I can spawn 20 soldiers with around 1ms cost on my mid-low end ...
0
votes
0answers
18 views

Unity Animation State duplicate Trigger

I have a simple controller to open a door and close it. With a Trigger I close the door and when it is closed it has a 3-second timer to re-open It works well, but if I send the Trigger twice in a ...
1
vote
1answer
22 views

How can I parent an object whilst animating?

Much like in Blender where you can parent an object to another, or the Armature, is it possible to parent an object to another, so when animating, the child object moves with the parent? I've tried ...
0
votes
1answer
120 views

Unity Anima2D - IK Limb for leg not working

I'm having an issue getting an IK limb to work using Anima2D in Unity. If I place a limb IK for the neck joint, the head moves as expected, however trying to place one for the leg seems to have no ...
0
votes
0answers
30 views

Where to find animated matrix transformations in an fbx file?

Where can I find matrix transformation animation data in an fbx file? I have an fbx file with animations. I have successfully read the indices, matrix, and weight from it. How can I get the frame-by-...