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
8 views

Image background color not showing on changing scale at regular intervals

This is question is in reference to the answer given by Philipp. I implemented an Image component without a sprite, just a background color. It's intended to be a health bar and I change the scale to ...
0
votes
1answer
33 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 ...
1
vote
1answer
229 views

Animation Dilemma: How to create authentic discontinuous block-like character movement

I am using Unity. I have quite a bit of Unity experience, however I am a novice in animation. In the past I have had someone else do character Animation aside from some Camera animation and simple ...
0
votes
1answer
20 views

Stop current animation and re-play immediately?

When the player hit something, I'm playing hit animation from animation_player. However when player hit something while hit animation is playing, it just ignored and play previous hit animation. I ...
3
votes
1answer
123 views

Synchronizing actions with animations across network

I'm working on a project which allows players to take actions in time-limited turns. All players are connected to a central server, which is authoritative. That means the server sends info that a turn ...
0
votes
1answer
213 views

How do I calculate the new Quaternions from translated points?

The code below is for a rag-doll using Verlet method, I have the correct points (or joints) positions, I just need the correct Quaternions, otherwise the resulting model looks like in the picture, I'm ...
0
votes
0answers
16 views

Call code on interrupting Unity animator sub-FSM

I'm trying to find a way to execute a code when one of two outcomes happens in Unity animator controller: When animator's sub-FSM finishes or When animator's sub-FSM is "interrupted" by a ...
4
votes
1answer
201 views

LibGdx animation sequence

In my game the character movement animations work fine but now I'm trying to do a sequence of programmatic animations, for an enemy character, and it's proving to be a pain. I'm just doing it on ...
0
votes
1answer
33 views

Unreal Engine and Simple Animation

I am creating a card based game and I am stuck on an animation detail. My question is I need an animation to shuffle the deck, a animation for dealing and an animation for drawing. My question is ...
1
vote
2answers
341 views

Why are the inputs not changing the animation on keypress?

I have been following this tutorial. You can watch 16:00 - 18:20 to see what I am trying to do. What should be happening is: I press a key, my animation plays and the parameters or Inputs get updated ...
0
votes
0answers
17 views

Why has my object detached itself from the parent?

I made an two objects in blender, animated them, and saved them. Firstly, when I reloaded them, half of the animations I created had disappeared, which is annoying itself but the real annoyance is ...
0
votes
1answer
23 views

Health bar without image collapsing to the centre in Unity 2D

I am trying to create a health bar that collapse symmetrically to the centre. The color palette of my game is minimal and the health bar is only one color that does not change with size. I am new to ...
3
votes
3answers
207 views

Animation clip not working

I am working on playing different animation of key press.Below are the animation element attached to my player Initially run animation is played.I have written code to play "Jump" animation on ...
0
votes
1answer
42 views

Some of mesh unstable on animation only in Unity

I made first person model from Blender. In Blender, everything was fine. But move to Unity and hit play, some of mesh(Bullets in cylinder) are unstable, it's way to much shaking. Few months ago, I ...
3
votes
1answer
701 views
1
vote
1answer
524 views

Unity: How to transition to a different animation during the blend phase?

I have a set of animations: Idle, start walking, stop walking, and walking full speed. I have the animations all blending nicely...and the controls are fairly responsive during most of the motion......
1
vote
1answer
34 views

Rigged through Blender (Rigify) and Errors in Unity

I am working on a Unity scene and as the 3D model is missing the bones, I ended up going to Blender for the rigging. For that, I followed the procedure that Unity suggests by using the add-on Rigify. ...
0
votes
2answers
321 views

Slick2D: Animation not being parsed from spritesheet correctly

I have a 960x960 spritesheet with each tile being 192x192. I initialized my spritesheet and animation like so: ...
1
vote
2answers
2k views

How do I recreate this 3D “flying through space” effect resembling a tunnel?

On the "Final Destination" stage. in "Super Smash Bros. Brawl" and "Super Smash Bros. Melee", the players fight on a platform that is seemingly moving through space. I see particle effects, but I don'...
4
votes
5answers
5k views

How are realistic 3D faces created and animated in video games?

I'm interested in being able to create realistic faces and facial expressions for the 3D characters of a game I'm working on. Think something similar to the dialog scenes in games like Mass Effect. ...
0
votes
1answer
114 views

Need help with a C26495 warning and E0513 error in a C++ SFML class

I'm currently learning to program a game with the SFML library.I dugged up a bunch of SFML tutorials on Youtube and found a really good one by 'Suraj Sharma': https://www.youtube.com/channel/...
0
votes
0answers
19 views

Sprite alignment in my sprite packer

I am creating the "perfect" sprite packer. This is a sprite packer that makes sure the output sprite is fully compatible with everything. It converts (if needed) the source frames to BMP in memory It ...
1
vote
1answer
69 views

Overriding the sprites in a Animation clip

Right now we are in the process of adding seasonal content to our game. I would like to know of a way to override animation clips. Specifically I want to change the sprites being show at each key-...
0
votes
1answer
26 views

Does Unity animation event send a message to every object which owns it?

I made game objects A, B. And each has animator, and it has the same animation. And they are inherited class of Base class. I trigger animation on A object, and the animation has callback and invoke ...
0
votes
0answers
21 views

Animations suddenly not working at all

I have three animations, "ShowHit", "WarningFadeInAndOut", "ShowGameOver". They were worked when I was made, but suddenly only "ShowHit" is working. I double checked the logic was correct so that it ...
0
votes
1answer
18 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
1answer
103 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 ...
3
votes
1answer
72 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
820 views

How can I play an animation only using C#, without animation controller, or create an animation controller at runtime entirely from script?

I've been looking around for a while trying to figure out how to play simple animations with Unity via ONLY C# script, with no drag-and-drop involved. So far I've found various tutorials explaining ...
0
votes
0answers
18 views

How to export Blender shape key drivers to Unity?

I created a character in Blender with about I am using drivers because the regular Blend shapes seemed (unless I was mistaken--?) to interfere with all of my animations. When I export the FBX to Unity ...
0
votes
2answers
30 views

How come changing the speed of an animation isnt making the animation speed up?

I made an animation of a bow string being pulled and another animation of the string being released but my issue is that I need the string to snap back quickly. I changed the speed of the release ...
0
votes
0answers
10 views

Dynamic Sequence FBX Animation Generation

I have a project that will generate a sequence of animation which is a sign language gesture based on the input text from the user. I already figured how to use mecanim but it will be difficult if I ...
0
votes
0answers
16 views

Text and video on a glass/window

I am a beginner Unity-user, and interested in high-tech thems. So I'm looking to make a high-tech futuristic gaming-room in HDRP. I'm therefore looking to do some effect on my window in the room. The ...
1
vote
0answers
11 views

Unity animation: How to reset pivot after 3D character somersaults?

I have this new character animation that I made in Blender. None of my other animations use Root Transform or anything fancy, and they work great. This new one is special though. The character jumps ...
0
votes
1answer
144 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
98 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 ...
0
votes
0answers
18 views

Unity3D: Rotating the head and an animation gets clashed

A rigged generic models head keeps rotating to follow the camera. When there is an animation like shaking the head, the head animates weirdly as compared to without rotation. Is there anyway to fix it?...
0
votes
0answers
21 views

Blender to UE4: Custom rig has bones ending up in the wrong place

I'm trying to create a custom mesh and rig in stock Blender 2.8 and export it via .fbx to stock UE 4.23. Unfortunately, the bones of the skeleton end up in entirely the wrong place. In short, the ...
1
vote
5answers
8k views

How How can I make a simple combo combat system in Unity

I'v been trying to make a melee combo combat system in the Unity Animator, but I can't seem to get it right. I'm trying to go for a combo system that flows from Hit 1 to Hit 2 to Hit 3, ect, with ...
0
votes
2answers
66 views

How to use Animation Player in Godot like Animated Sprite

So currently I am using the following code to play my sprites (AnimatedSprite Node). $Sprite.play("Animation Name") However now I want to use the AnimationPlayer ...
0
votes
1answer
44 views

Godot Animation only playing First Frame

I have tried checking if it is already playing, stopping animations before and putting it in a separate function. Whenever I jump it should play 4 Frames of my animated sprite. But it only plays first....
1
vote
1answer
48 views

Game engine animation management

Usually in a game scene there might be tens of animations going on at the same time, each being in its own state. I wonder usually how is this managed in game engines? Do they just stack a variable ...
0
votes
0answers
23 views

Problem with an animation transition

I'm working with a 3D avatar and it's my first time working with animations. I have already done one which goes from the idle animation to another animation. It does the transition when the value of a ...
0
votes
2answers
49 views

Detect up and down slopes to switch between character animation

There's a player and a slope in my scene. I want the player to automatically switch to 'climbing down' animation when he's at the top of the slope and moving down and similarly switch to 'climbing up' ...
0
votes
0answers
14 views

Unity Animator - bool transitions keep re-entering state while true

My StateMachine is triggered in a loop as long as transition boolean is true. I have made sure my code only runs once, where I set the animation bool: ...
1
vote
1answer
61 views

Prevent weapon from clipping during animations

I am trying my ways with Unity 3d animations, and so far so good. The only problem is, when I equip an weapon in the player model's hand, the weapon clip through player's head during some frames of ...
0
votes
0answers
9 views

Animate an arc to a full circle

I'd like to animate and draw a ring / tube 3D geometry. Starting from 0 degrees all the way around to 360 degrees over a set time period. Kind of like a clock hand that leaves a trail behind itself. ...
0
votes
1answer
132 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
18 views

Inverse kinematics behaving weirdly/

I have been trying to figure out why my player character crouches like this when I use inverse kinematics on it. I followed this tutorial: https://docs.unity3d.com/Manual/InverseKinematics.html?_ga=2....
0
votes
0answers
29 views

Using 2d sprite characters from asset store

noob here So I recently downloaded this asset https://assetstore.unity.com/packages/2d/characters/2d-archers-sprites-18748 from the asset store. All the animations work great (walk, jump etc) but I ...