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

How to Enable canvas with Event during a animation clip

I want to enable a canvas while an animation clip is playing, I used animation Event and call the following script to enable the canvas, but the editor does not recognize any game object. How a ...
0
votes
1answer
41 views

Unity tilemap tiles animation

I am beginner in Unity and I have created tilemap using new tilemap system in unity which looks like this: I created a script that lets me swap tiles. First I click on some tile and than I choose ...
0
votes
0answers
29 views

Layering Animation on Pixel Art Sprites

I'm currently having some trouble finding the best way to layer animation onto a 2D pixel art sprite animation. For example, I want to add various expressions and blinking onto a pixel art idle ...
0
votes
1answer
42 views

curve of animation in C#

I think that the animation curves in Unity lack the fact of being configurable because they are only chosen with a certain type (no sinusoidal function) and adjustable with handles. How in C # create ...
0
votes
1answer
17 views

Unity Timeline character transform initial values

I'm trying to make a runtime cutscene in Unity using the Timeline editor. I have a humanoid character with an animation controller, track and a cinemachine track set-up in the playable. The timeline ...
0
votes
0answers
27 views

Blender-to-Unity: How to import shape key drivers

I have a driver for rotating the eyelids and a driver for modulating the mouth's shapekeys. I have created a couple of animations of "just blinking" and "just grimacing", but what would be most useful ...
1
vote
0answers
46 views

Imported FBX animations (exported from Blender) have different, messier keyframes than in .blend file?

I imported an a character to Unity 2019.2.8 that I made in Blender 8.0, which was exported from that program in .FBX format. The animations play back the same (perceptually, but the keyframes are very ...
0
votes
0answers
17 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 ...
0
votes
1answer
25 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
27 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 ...
1
vote
1answer
43 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
0answers
21 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 ...
0
votes
0answers
25 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
27 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 ...
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
17 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
12 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
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
23 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 ...
0
votes
2answers
137 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
166 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
1answer
65 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....
0
votes
0answers
24 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
63 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
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
0answers
10 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
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 ...
0
votes
0answers
19 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
18 views

How to move an object while the animation is going on?

I added a jump animation with the character in unity and to move the character I have some code like this: ...
0
votes
1answer
23 views

How to make an animation play when a button is pressed once?

I have added an idle and jump animation to a character in unity. I can make the animation happen when the button is pressed. If the button is up middle at the animation the character goes to the idle ...
2
votes
1answer
102 views

Animate a 3D boss with some parts that become independant

I would like to create a boss but first, I want the player to fight the head. Then the head flies to the body and becomes attached to it. Later, the boss will throw an arm to the player and the arm ...
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 ...
1
vote
1answer
154 views

Blender rigid body physics animation into Unity?

I'm stuck trying to get these cube objects to explode into chunks when destroyed in Unity. I've set up a physics sim in Blender of the effect I want, originally planning to replace the unbroken ...
1
vote
1answer
44 views

Does Animator.SetBool take precedence over Animator.SetTrigger in Unity's Animator?

I've got an Animator with transitions from Idle to Walk or Dash. Walk requires isGrounded to be true and a float MoveX to be greater than .2. The Dash animation requires Dash trigger is returned. In ...
0
votes
0answers
10 views

Blender Video Sequencer: I try to load 76 images, but length is 48 frames, can't change

In Blender 2.8, I am trying to load a sequence of already-rendered images from a previous project I did (also in 2.8, but hey, these are just .png's) into the image sequencer. I set the frame rate in ...
0
votes
0answers
10 views

How do I create a simple animation for use in Unity?

I'm trying to create a simple shrinking animation for use in Unity. The goal is to create an animation that shrinks the object to be 0.1 scale. I've created an Animator Controller with an empty state,...
0
votes
1answer
104 views

How to set the runtime of an animation based on attack speed?

Based on an answer I received on this question: How to make an action perform only after an animation has run? I am using notifications in animations to perform certain commands/actions. See in the ...
0
votes
1answer
30 views

Prevent Animation Tab from changing the position of an object

I am quite new to Unity. I am using the latest version. When I try to make a door open animation, it goes well with rotation. But when I add the position property it takes it to the ...
0
votes
0answers
33 views

Multiple updates for Unity animation per one method call

I'm trying to do some simulation where I move objects procedurally in a loop within one method call. So instead of using Update(), method I do for example: ...
0
votes
2answers
53 views

How to make an action perform only after an animation has run?

I have an actor who has some animations. Animations perform based on some actor states (animation blueprint of actor): Conditions at the Event Tick (similar to while loop): The actor changes ...
1
vote
0answers
70 views

Procedural sketch / painting shader

So after some google searching apparently I don't even know what this technique is specifically called: I'm trying to figure out how to create an effect in unity that 'paints' a 2d asset on screen. ...
1
vote
1answer
51 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
1answer
1k views

How to resolve “Accessed None trying to read property” error?

Whenever I finish running the project, this error message appears: Blueprint Runtime Error: "Accessed None trying to read property jogador". Blueprint: Jogador_BP_Anim Function: Execute ...
0
votes
2answers
53 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

How to activate ENABLE ROOT MOTION on state machine?

In this question (also asked by me), I was having trouble putting the animation on my object: https://blender.stackexchange.com/questions/150901/error-in-exported-animation-position-size-blender-to-...
0
votes
0answers
11 views

Animation of changing TMP UGUI letters not showing in preview

In my latest project (Unity 2018.4.8f1 - common Mecanim animation) I want to animate a creature just by moving, scaling and changing the letters, it is build of. So I have to change the text of a <...
0
votes
1answer
34 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
18 views

How to add simple animations into static fbx files?

I'm looking for a way to take a static fbx file and do basic position and rotation animations on models and the camera, using a text/csv/json file with position and rotation information for each item ...
0
votes
1answer
31 views

Unity) How can i loop animation 'n' times?

I usually use currentAnimatorStateInfo.normalizedTime > n but is there any better way for this? I want my animation loop n times and invoke call back.
2
votes
1answer
229 views

How to make Unity sprite animation not lerp?

I set sprite animation at key1 and key2. at Key1 : Position.x = 0 at Key2 : Position.x = 1 I want it not lerping. i mean ...