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
15 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
17 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
31 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/...
1
vote
1answer
45 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
19 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
45 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
1answer
18 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
11 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
52 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 ...
1
vote
1answer
57 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
0answers
8 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
98 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
17 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
27 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
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: ...
1
vote
1answer
31 views

Updating transform position after root motion

I have an animation of a character climbing with root motion in it (i.e. the character moves generally upwards for a couple of units during the animation). It is intended as a one shot, not a loop. ...
0
votes
1answer
21 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
87 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
25 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
2answers
36 views

Unity) What should i do if i want to change sprite animation in same action?

My character has Idle-Walk-Jump-Attack state in animator. and it can change its appearance when it gets an item. for example, it can equip sword or armor. and i need to change whole sprite. the sword ...
1
vote
1answer
34 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 ...
0
votes
1answer
87 views

How does the stateTimer parameter is initialized in this method getKeyFrame(stateTimer)?

I have been following the tutorial https://www.youtube.com/watch?v=1fJrhgc0RRw&list=PLZm85UZQLd2SXQzsF-a0-pPF6IWDDdrXt&index=11 I an not able to understand what is stateTimer in getframe ...
0
votes
1answer
35 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 ...
2
votes
1answer
82 views

Animation position leftover

I am fairly new to unity and I have encountered this same problem previously. I have a gun with hands and I created an animation that simulates shot movements with properties ...
1
vote
1answer
26 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
1answer
9 views

Auto key bones with controller helpers

I have skinned and rigged a human character with IK / FK and helper objects to control the position of the IK goals and the rotation of the bones. For example, the characters' left arm IK goal is ...
0
votes
0answers
9 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
28 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
1answer
40 views

Changing the 3D model of the Unity ARkit face tracking demo

I was able to get the Unity ARkit face tracking demo working with an iPhone X to animate a face model in realtime: I then tried to get it to work with my own 3D model, and imported the FBX file with ...
0
votes
2answers
43 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 ...
0
votes
0answers
26 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: ...
1
vote
0answers
68 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. ...
0
votes
1answer
47 views

How to animate infinite rotary movement

I would like to add a chainsaw (or something similar to it... a rotary blade) to my game as a melee weapon. In fact, a rotary blade is a better example. Would it be better to do it in blender ...
0
votes
1answer
44 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
1answer
33 views

How to add custom control shapes to a rig in Maya

I find most Maya animation videos has these circle lines to control character part rotation: Why does my imported fbx not have these circle lines?
0
votes
0answers
10 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
0answers
11 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-...
1
vote
1answer
180 views

issues about combo attack system animation

i have some issues about my attack animations right now, i'm doing my light attack which has 3 separate attacks and animations. the scripting and trigger works(without animation), but my animation ...
1
vote
0answers
199 views
1
vote
2answers
512 views

Creating animation by script with animation assets

I'm very new to Unity (not to C# and programming as well) but I managed to achieve some goals very fast. But some concepts I still don't get in their full aspects. I'm developing a small multiplayer ...
0
votes
0answers
16 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
90 views

Animate some tiles of tile map

I have a game where each "tile" of the terrain is a triangle (Settlers 2). Those are placed next to each other and in way creating an infinite world (right/bottom jumps back to left/top). There is a ...
0
votes
1answer
30 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
216 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 ...
0
votes
1answer
929 views

How do I export Physique animations without breaking them?

I've been trying to export a simple footstep animation that I made in 3ds Max, but it either fails to export or is broken (imports into unity missing a few frames, or appears to have imported but won'...
0
votes
2answers
88 views

Unity animation tool doesn't save changes

I'm trying to create an animation inside Unity using the animator tool, however the record tool isn't recording my changes and I'm struggling to get this to create animations. I have created an ...
1
vote
1answer
242 views

Vertex Skinning, Bone matrices question

I'm creating a model/animation viewer in C# using OpenTK for a game's models. Before stating my problem I want to describe a bit what I've accomplished so far in case I'm fundamentally missing ...
0
votes
1answer
179 views

Animation after enemy spawns

right now in my game, four enemies spawn in four spawn points with a delay, but what I want to do is that if you don't kill the enemy after a couple seconds, an animation (it's an animation of a ...
0
votes
1answer
22 views

Unable to enable IK on someone else's rig

I'm using someone else's character rig for reference but I'm not sure how I can enable IK solvers for the arms. The hand controller has a NURBS control with an ikBlend attribute, but when I try to ...