Questions tagged [animation]
The simulation of an in-game entity's motion, such as running or sitting or striking.
1,484
questions
0
votes
0
answers
15
views
How do I change the motion reference in an animation state during runtime?
I tried this solution: https://discussions.unity.com/t/how-to-change-animation-clips-of-an-animator-state-at-runtime-is-there-a-way/183135/4
But this doesn't work if I try to use a different animation ...
0
votes
0
answers
17
views
SpriteResolver's category and label values null when I try to access them at runtime. How do I fix this and make sure I get these string values?
I'm working on creating an animation system used for mouth movement that works like this:
BEFORE the animation clip starts playing, cache the SpriteResolver's state (category and label)
Once the ...
1
vote
0
answers
45
views
1
vote
2
answers
60
views
How are gameplay animations described to an animator before they are made?
I'm working on a fangame project as an animator and I got a list of animations to make that looks like this:
Idle
Run
Punch
Swim
etc.
Now, an anim like Idle or a walk cycle will be fairly obvious in ...
1
vote
2
answers
189
views
How can I solve this error and this warning when destroying instantiated prefabs?
I'm working on a level in a 2D game that includes two big triggers.
Each time the player enters them, I Instantiate an enemy prefab. Then, the player can shoot ...
0
votes
0
answers
33
views
Collision detection and damage using call method track
I'm currently implementing damage similar to these two examples, putting the damage logic inside the "call method" track of the player animation.
The problem is that sometimes the game just ...
0
votes
0
answers
42
views
How to do the coin effect in Eatventure
I'm trying to do the flying coin effect in the video using DOTween in Unity. I already made an object pooling system to generate large amount of coin but I'm currently stuck on how to make the ...
1
vote
1
answer
158
views
How do I keep a node centered while animating scale in Godot?
When scale is modulated, the item scales from the top-left corner. I tried changing anchors preset to "center" but it still scaled from the top-left corner. How do I make it scale from ...
1
vote
1
answer
67
views
Why are my avatar hands not closed when performing clap animation downloaded from mixamo
I am using finalIk to rig my avatar in my project. Looks okay. I also have a few animations downloaded from mixamo that I am using with it. However, there is a particular animation (clapping) that ...
-1
votes
1
answer
62
views
where should i start if i want to make an enemy from robots forever 2 (or if you are unfamiliar a physics based enemy that uses procedural generation)
this is probably a long shot, but I didn't really know where to ask this question. I just wanted to ask if anyone knows any resources that can help explain how to make something like this.
Thanks, and ...
0
votes
1
answer
184
views
How to set attack speed
I was checking the new animation with that Mixamo right I made for combo attacks at various speeds.... and I realized I never thought about how implement it in-game.
Is there a simple, fast and ...
1
vote
1
answer
87
views
How to implement skeletal animation for Signed Distance Field models?
When animating a 3D model, we want the surface of the model to remain continuous (such that, for instance, the limbs do not seem to slide on the torso, but stay attached at their position).
In a ...
0
votes
0
answers
24
views
Ease Sequencer Keyframes
In Blender, the "Automatic" keyframe handle type creates smooth and natural animation transitions. It automatically adjusts handle positions based on neighbouring keyframes and curve shape.
...
0
votes
0
answers
109
views
How can I change MetaHuman pose and face expression without losing everything on autosave?
I uploaded a MetaHuman in a level.
Then, I want to do changes its face, body and so on, in the same fashion as if you load an animate sequence. I want to control its facial expression with face ...
0
votes
0
answers
226
views
How does the UE5 Control Rig Sphere Trace by Trace Channel Work?
I would like to use a control rig to correct the foot IK.
First, I defined a function called "FootTrace" to detect the ground under the feet. In this function, I used "GetTransform-Bone&...
2
votes
1
answer
257
views
How to swap skinned meshes for a customizable character in Godot?
Using Godot 3.5.1, I need to make a system that switches armors/helmets/hair styles/weapons and so on.
I've seen a single tutorial for how this is done in 3D games in Godot, and apparently it is not ...
0
votes
0
answers
55
views
How to animate and align interaction between a character and a stationary, articulating object?
Let's say I have an cannon and a person in Blender (I haven't made it yet), and I wanted to make an animation where the soldier loads a round into the cannon; and then export it into Unity. Here's a ...
0
votes
1
answer
149
views
Animation Rigging stops working when transitioning between animations
I've followed all the online guides, I've changed characters (from a character taken from the Unity Asset Store to one from Mixamo), I've used animations taken from three different sites, but the ...
0
votes
0
answers
163
views
Setting Timeline Speed To 0 Immediately
I'm currently using a Signal Emitter to call a method that "stops" my Timeline by setting the speed to 0.
Then I wait for player input to go through some dialogue and then continue the ...
1
vote
0
answers
67
views
Animate buttons sliding in
I am developing my first libGDX game.
I want to animate the buttons on the stage, so they transition into view instead of just popping into appearance. For example, each button should slide in from ...
-1
votes
1
answer
148
views
Parameter "isMoving" does not exist
I was following tutorial video but somehow end up error like this
This is the code
Any clue where is the problem, I tried changing things but still no different...
0
votes
1
answer
88
views
Timeline state changes when paused
I'm working on a Timeline sequence in Unity (not to be confused with the Animator). There are several animation tracks playing different animations at different parts of the scene.
At one point in the ...
1
vote
1
answer
214
views
Godot root motion is calculated incorrectly?
I'm trying to set up root motion in Godot but it's not giving the expected result.
This is the original animation:
After setting up the AnimationTree to use the root bone, the character correctly ...
0
votes
0
answers
76
views
Importing an animated Blender tree into Unity
I've been trying to import a tree blowing in the wind (using Blender's Sapling Tree Gen) into Unity to play the animation. However, I can't get it to play
The steps ...
0
votes
2
answers
555
views
Copying transforms from one object to another
I am working on a virtual production app, and I need to be able to copy the transforms of one GameObject and all of its children to another. I asked previously here how to animate a character moving ...
0
votes
0
answers
34
views
Imported FBX animations do not have bones/avatars
I'm trying to use a few assets I bought from Unity's assets store in the new Godot 4 engine.
Right now I'm trying to use Blender to retarget a few animations to my character skeleton, but those ...
0
votes
0
answers
37
views
How are particle wave animations implemented?
There is a common sci-fi effect trope I see where luminescent particles move in a way that gives an appearance of waves, like in this Assassin's Creed loading screen or this image
A trivial ...
0
votes
0
answers
156
views
Disable animations for specific bones in Unity
I'm working on a virtual production app in Unity, and I wanted to apply a walking animation (from Mixamo) to the character when it moves. When the character isn't moving, an idle animation is played. ...
0
votes
0
answers
176
views
Mixamo auto-rigger not working
An unknown error causes this specific character to not rig, anything that may be causing this?
0
votes
1
answer
40
views
How do I find two points on opposite sides of a circle where the angle of the first point's position is a percent of the whole circle?
I am trying to simulate sunrise/sunset with a linear gradient. I want the gradient to rotate around a circle whose diameter is the width of the screen with the center point being the very bottom ...
0
votes
1
answer
128
views
After keying value in animation track, property becomes locked and can't be changed
I am trying to rotate a sword hitbox around the player depending on which animation is currently playing.
I have the following node setup:
...
0
votes
1
answer
90
views
Using IK to make a cutscene in Unity 2021
I imported a character from Mixamo to Unity, and I wanted to make a quick fight cutscene.
However, I realized that it was going to take a good bit of time. I would like to know if there is a method ...
0
votes
1
answer
197
views
Make ready player me Avatar replicate animation from Mixamo by pressing an oculus quest2 controller button
I have a ready playerme avatar that I rigged with Final IK.
I downloaded an animation from mixamo to play with this avatar. My goal is to animate the avatar with the downloaded animation once a button ...
0
votes
0
answers
93
views
How can I combine physics and animation to make a believable death sequence?
I am quite new to working with physics and rigidbodies. So far I've managed to push the body in the opposite direction from where they are hit by an arrow. But I am unsure of how I can combine this ...
0
votes
1
answer
70
views
Imported IK Rigged FBX model into Unreal Engine makes the feet point in the wrong direction
Hi I have a model I rigged in Cinema 4d following the same structure as the UE5 mannequin that I've imported into UE. I am trying to setup retargeting however the animations have the feet pointing in ...
0
votes
0
answers
53
views
Game FPS for smooth animation
I'm designing a 3D game. I have a question about object animation. My question is in case i ensure the 6o FPS game run (on some today's average machine) the distance object is being moved (for e.g. in ...
0
votes
1
answer
125
views
How to store animation data on the GPU?
I want to store my animations on the GPU via buffers (instead of using a single constant buffer which contains the current skeleton frame only), so the vertex shaders of the skeletal meshes can read ...
0
votes
0
answers
375
views
How to play animation clips (.anim files) through a script (without Animator, Animation Controller)
I'm making a custom sprite-based animation system.
basically an "animation component" (legacy) with more features.
I want to create my animations within the Unity animation window, which ...
0
votes
1
answer
71
views
Easing curve, find next position given current position and delta time?
I'm want to animate an object using an ease out curve, where it moves fast at time alpha = 0 and slow at alpha = 1 from position ...
0
votes
1
answer
62
views
Setting animation from variable start
So I have a fun little animation where this monkey swings his feet however ! I am not sure where he will be in this animation when the player hands him this coconut which should trigger another ...
0
votes
1
answer
129
views
How to export ONLY animation clips from Blender to Unity to organise them in different files
When you start with the Unity 3rd person template, you see the animations (actions) being neatly organized as separate files:
I know how to export a model with the mesh, materials, and actions:
But ...
0
votes
0
answers
47
views
Unity animation out of sync when origin is moving
This is the animation code which is running a cube on animation points:
...
1
vote
0
answers
56
views
How can I blur part of TMP text and animate that blur in Unity?
I have a text animation in unity and at one point I want to blur part of the text. How would I do this without creating bunch of material preset and if I would make an effect with editing the material ...
1
vote
2
answers
271
views
Animation jumps to 0 position on all axes while using AnimationCurve on x
I am currently studying animation creation on runtime. Here is my code snippet where I am moving my cube x position to 2.
...
2
votes
1
answer
111
views
How to make root motion animation roll in world coordinates instead of local?
I am currently prototyping a top down 3D game in Unity 2021.3.4f1.
My character moves with standard "WASD" and always faces towards my cursor's location on the screen. The camera is fixed ...
0
votes
1
answer
430
views
What is ApplyBuiltinRootMotion and how to use it?
The character in my game has humanoid feature. I have unchecked "Apply Root Motion" in Animator component and use scripts for its movements. I want to implement a Ledge Grab Jumping movement....
0
votes
1
answer
37
views
How to encode homogeneous transformations on the root node of a gltf
Let us say we have a gltf asset. Let us say we want to apply an arbitrary linear transformation to the root node.
We will say that the root node has a rotation, translation and scaling components. For ...
0
votes
1
answer
66
views
Why does running an animation in the Godot editor affect game state?
There is an animation on an enemy in the demo project "Platformer 2D (Raycasting)". If you run the destroy animation in the editor, it will mess with how the enemies behave in game. Here ...
0
votes
0
answers
28
views
IK Retarget Changes Scale
I have an IK Retarget set up that works perfectly in the IK Retargetor editor...
but then when I Export Selected Animation, it's broken: it changes the scale of the model and streatches the knees out ...
0
votes
1
answer
100
views
Calculating train animation speed based on distance
I have an animation clip of a train which is covering about a 16707-meter distance in 56.66667 seconds. So that's:
distance covered (from start to end position by animation ) = 16707
Animation length ...