Questions tagged [animation]
The simulation of an in-game entity's motion, such as running or sitting or striking.
1,518 questions
0
votes
0
answers
19
views
Active ragdoll in Godot 4.5: how to achieve good results?
I'm working on a 2.5D game in Godot 4.5 that uses skeletal animation + ragdoll physics.
I'm really happy with how the full ragdoll mode behaves, but I can't get anything close to a good active ragdoll ...
0
votes
0
answers
67
views
What am I missing to get my animation working
I use Godot 4.4 and gdscript. I have a 2D isometric character with hundreds of sprite sheets for different angles and weapon status. Its not feasible to do this in ...
0
votes
2
answers
131
views
My default animation state is stuck on little progress
I'm following CodeMonkeys 'Learn Unity Beginner/Intermediate' and I'm at the animation section. i tried doing it myself after watching it and I am pretty sure I did all the steps. But I reached the ...
2
votes
0
answers
67
views
Best Approach for Storing / Serializing Property Value Animations
Background
I'm making a platformer game, in C#, in Monogame. I've got a middling amount of experience with gamedev, having done some mini projects in Unity in the past and deciding I don't like a big ...
2
votes
0
answers
136
views
How to prevent glitches in script-driven animations?
I have animations that are played via script. Occasionally, glitches occur at runtime that I can't explain. Here is an example:
These glitches do not occur consistently but appear in almost all ...
1
vote
0
answers
71
views
How to Handle Attack Animations in Fast-Paced Combat Without Hurting Character Fluidity? [closed]
I'm developing a real-time combat system and have run into an issue with handling attack animations. Right now, when a character attacks, the animation locks movement until it finishes, making the ...
0
votes
0
answers
71
views
UE5 Animation / Motion Matching Issues
UE5 noob here,
So I am following a tutorial for how to do motion matching and when I import the animations, only the head gets animated while the rest of the body is in a T-pose. It is very comical ...
0
votes
0
answers
38
views
How to design the animation system for part-customizable robot in Unity?
I'm using Unity to build a game, where players can customize their robots with different parts of a variety of sizes and lenghts.
For example, players can put a pair of very long legs with an average ...
0
votes
0
answers
151
views
How are blend weights are determined in animation blending?
According to this Anim Coding tutorial:
In additive animations, additional movements are layered on top of existing animations. This allows for complex actions to be created without the need for ...
0
votes
0
answers
129
views
Camera Shake Issue in UE5
I'm experiencing unexpected camera behavior while implementing a camera shake effect in my first-person project. After adding the camera shake, the camera is not behaving correctly (the camera is not ...
1
vote
0
answers
76
views
Does adjusting the speed of an animation effectively change its frames?
Animations are made up of frames, for example in the below animation it takes Ryu 3 frames to execute his kick, it does damage during the next 12 frames, and finally takes him 17 frames to recover.
...
2
votes
1
answer
334
views
Implementing animation curves using cubic bezier curves
I am trying to implement an animation system using cubic bezier curves. It was easy to setup the calculation of the curve itsself. Only evaluating the curve at a specific time x gives me headaches.
I ...
0
votes
0
answers
123
views
Unable to play animation from another layer
I'm attempting to play an animation from different layers but having some difficulty. I'm trying to play animation transitions in one layer and then go back to the base layer to play an animation ...
0
votes
1
answer
274
views
Trees sway in unison in Unreal Engine 5 with Megascans European Black Alder Pack
I’m experiencing a strange issue in my Unreal Engine project. The trees in my scene have started to animate unexpectedly, almost as if they are performing a synchronized "dance" or wave ...
0
votes
1
answer
89
views
Use AnimationClip to turn a material pitch black and then back to its original color
I have an object that has 2 materials, both using the URP/Lit shader. One of them is emissive and its color changes at runtime.
I would like to create an effect where the two materials become pitch ...
0
votes
2
answers
116
views
How to start animation only when a specific keymap is triggered?
I am working on a game where the player needs to open a door using a button.
A door open animation plays when the player clicks the button which triggers a keymap. So I used:
...
1
vote
1
answer
176
views
What is wrong with my animation retargeting algorithm?
Animation retargeting (also called motion retargeting) is the transfer of movement from one character to another in animation (i.e. from one skeleton to another), allowing the reuse of animation on ...
0
votes
1
answer
100
views
How to modify a prefab Explosion effect with your own particle sprite?
My main goal is to create an explosion effect when I clicked the object. Therefore, I searched in Unity Assets, and found a cool framework called CartoonFX, which is really ok for me. Cartoon FX - ...
0
votes
1
answer
215
views
Animator.SetTrigger not working
I'm new to Unity. I'm trying to create a black screen transition when pressing a button using SetTrigger(). However it's not working. It doesn't even play at the ...
1
vote
1
answer
221
views
Separate Sword Sprite from Player
I am aware that a common approach in game development for attack animations is to separate the player from the weapon and 'stitch' them together at runtime, depending on the weapon equipped.
This ...
1
vote
1
answer
266
views
I am testing the flyweight pattern on thousands of GameObjects but its not helping save memory. What am I doing wrong here?
I am trying to understand the flyweight pattern better by trying to optimize memory usage by spawning 10000 copies of an enemy GameObject that I have which has an Animator component, SpriteRenderer ...
0
votes
1
answer
104
views
Moving prefab body parts up and down — stops working when tied to a button click
I'm newbie to Unity and attempting to move a prefab's arm up and down on a button click but having some difficulty.
The arm movement works when called from the Update() method without checking for a ...
1
vote
1
answer
903
views
How do I apply a post process animation blueprint to a skeleton?
I tried to migrate the rifle anims from the lyra sample project. I am using the same skeleton as the Lyra project, but the wrist is twisted once they are retargeted. If I open the anim before ...
0
votes
1
answer
100
views
RigidBody floating in th air
I added a death animation among some other things in case of death. But after playing it the player is airborne, so I might need to change the pivot. But I'm wondering if this can't be done with some ...
0
votes
0
answers
127
views
How can I check if the rigidbody is moving
The problem is that rb.velocity probably returns too small values
...
0
votes
0
answers
29
views
Jump state in AnimGraph is not entered when character jumps
I finished following the "setting up character movement" gameplay tutorial and everything works, except for the jump animation, which does not play when jumping. I determined that the issue ...
1
vote
0
answers
343
views
Unity Animation Rigging Override Transform is not affecting rotation on startup
Given: I have animation of character arming the pistol using IK.
The pistol In Character's Idle State is on the characters hip and it's barrel is looking at the floor.
Next I have armed state when ...
0
votes
1
answer
211
views
Generating animations in real time
For enemies in a video game is there a way to change / generate an animation based off predefined code to work in any given environment.
An example could be a giant spider walking over rough terrain, ...
0
votes
0
answers
73
views
Efficient Methods for Creating Moving Frontline Animation in Unity
What is a better way to create moving frontline animation in Unity?
Hi, I'm new in the Unity and I'm interested to create a moving frontline map animation for a strategy game.
Here is what I want to ...
0
votes
1
answer
242
views
Animation Clip Won't Play Despite Transition Showing in Animator
I'm following this Unity Animation Rigging tutorial by
TheKiwiCoder. What I have now is a rig layer containing all kinds of constraints. The tutorial instructs to add an animator to this rig layer and ...
1
vote
0
answers
98
views
How to create animation sequence when character is moving at the same place
I’ve created animation through UE Sequencer,but it seems moving in global space. How could I do animatian of a character in local space? Could somebody say which concept is supposed to be used here?
...
0
votes
2
answers
102
views
How to correctly add animation for a rotating object with Script?
I have the following structure of my Turret:
The Body rotates by Y and Head rotating by X via script to a target, I have created simple Idle animation for turret which rotate Body and Head. The ...
1
vote
1
answer
386
views
How to pause player motion during an air attack animation in Godot 4?
So I am very new to Game Dev, and I am running into a problem that seems like it should have a simple answer. Unfortunately, I have not been able to figure it out.
I am creating a 2d side scroller. I ...
0
votes
0
answers
77
views
Can I save blended animations as .anim?
I've got two animations, and they blend well. Can I save the thing as a singular .anim file ?
1
vote
1
answer
256
views
How do real time cutscenes work?
I want to code a real time cutscene editor in my engine but I couldn't find any pdf documents or websites explaining it in detail. Is the cinematic scene file loaded with instructions like ...
5
votes
1
answer
497
views
How would I switch an animation track between continuous and discrete mid-animation?
How could I set it so that an animation track switches update mode mid animation? For example, when I need to have separate parts of a sprite's image remain in place as the frame changes?
An example ...
0
votes
1
answer
142
views
Can't move rigidbody2d when using animations
I have a player moving and jumping by changing its x or y velocity. It worked well until i created a walking and idle animation. Now, the player is animated correctly when idle or walking, but does ...
1
vote
1
answer
203
views
How do I make the joints and weights skinned with the variables I'm using?
For some time now I have been trying to do skeleton animation using Rust and OpenGL(specifically the gl library), I loaded the animation information correctly(with the gltf library), the bone ids and ...
0
votes
1
answer
68
views
0
votes
1
answer
236
views
Is it ok if root motion animation doesn't start from the world origin?
I've been testing/exploring character movement with root motion in Unreal. I've modelled a simple character in Blender, animated a walk cycle with root motion, and in the end I've got the desired ...
0
votes
1
answer
217
views
What are my options for creating animated planets and stars in Godot 2D?
I'm creating a simple game / digital picture frame as a present. It is split into a picture scene and a planetary scene, which will have slight animations, date, time and maybe some messages.
The ...
0
votes
0
answers
766
views
Using 3D Rotation track animations in the AnimationPlayer in Godot
Godot v4.1.2.stable
My goal is to make DirectionalLight3D rotate 360° around the scene, and in a second animation change the angle of rotation every 180 rotations between 75° and 30° on the X axis (a ...
0
votes
1
answer
211
views
Inconsistent Speed Of A Projectile Traveling On A Bezier Curve
What I'm doing:
I'm moving a projectile to it's target along a Bézier curve with one control point.
The projectile moves from Transform A to ...
0
votes
1
answer
121
views
Weapon jitter when playing FPS animation
I extracted drg's auto cannon, and the gun and arms are separated models.
When I try to get them into unity, something wrong happened, I tried a lot of methods. Like using script to attach, using ...
0
votes
1
answer
124
views
In Unreal Engine 5, how do I include and use UPlayMontageCallbackProxy::CreateProxyObjectForPlayMontage in C++?
I want to play my UAnimMontage via C++, and in particular, want to make use of the conveniences of UPlayMontageCallbackProxy.
...
0
votes
1
answer
450
views
Sprite Animation in Pygame Zero
How do I use a sprite sheet in pygame zero?
The height of the images are 32, width is 25
1
vote
0
answers
153
views
How to set pivot point for rotating a sprite?
Is there a way to set the pivot point for rotating a sprite? The default option seems to be arbitrarily chosen point on the sprite or the mid point.
...
0
votes
1
answer
80
views
Move player at godot4
I designed a character that has 4 walking modes for godot4.
I saved the picture in PNG format.
I enter it into the animation section. When I set the keyframes and play, in addition to playing the ...
1
vote
0
answers
103
views
How to blend 2 different metahumans seemlessly during animation
I'm new on this site so please let me know if this is the wrong section to post to.
I have an idea for a whole bunch of animations revolving around 2 semi-identical twins that live in the same body. I ...
2
votes
1
answer
1k
views
Unity keyframe animations not smooth?
I'm new to Unity in general, and particularly to animations, but what I'm trying to do should be fairly basic so I'm probably doing something simple wrong.
I've broken this down into a very simple ...