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
9 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
23 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
33 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
10 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
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
1answer
11 views

Does unity animation event send message to every object which own it?

first of all, sorry for my english. I made game object A, B. and each has animtor, and it has same animation. and they are inherited class of Base class. i trigger animation on A object, and the ...
0
votes
0answers
15 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
29 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.
1
vote
1answer
199 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 ...
1
vote
1answer
24 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
23 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 ...
0
votes
0answers
17 views

Understanding ticksPerSecond and duration with skeletal animations

That's my first question here so i hope to do all correctly. From various weeks i started surfing the net about Skeletal animation aiming to add a simple animation controller into my small game engine....
2
votes
0answers
41 views

How can I rig an object to animate from two different orientations?

As an example: Say you're animating a skateboard. The board has a nose and a tail. Normally, the nose points forward and the tail points backward. Now say you have two animations: idle and trick. The ...
0
votes
1answer
8 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
14 views

Unity animation editor's object rotation is doing weird

When using the Unity timeline to create an animation or by using the animator itself, I am unable to properly rotate an object. Whenever I do rotate it, it will usually go something as follows: From 0 ...
0
votes
1answer
75 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
16 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 ...
2
votes
1answer
80 views

Unity how do I play an intro only the first time the player starts the game?

I have an intro animation scene in my game that I want to play the first time the player hits play from the main menu. How do I do this?
1
vote
1answer
61 views

Reasons to not use Root Motion

Engine: Unity 3D tool: Blender Since the start of my game dev endeavour, I can't seem to decide on the type of animation system I want to use. Can someone please give me reasons why you would NOT ...
0
votes
1answer
29 views

Pause Tiled animation during game in LibGDX

I’m using Tiled with LibGDX and I have some animated tiles. When the game is paused I would like their animation to be paused as well. Is this possible? The map is drawn with ...
0
votes
1answer
38 views

how to make the capsule move during anims

I'm trying to make a cartwheel/ dodge to the side in ue4 but when the animation plays it moves out of the capsule and slides back. Is there a way to make the capsule move with the character in the ...
0
votes
0answers
18 views

Unity creating 3d clothes for game character

I am trying to make a system where players can change out their clothes with others if they like, and even layer up clothes such as covering a shirt with a jacket, then an armored vest. I have ran ...
1
vote
0answers
31 views

How to run different animations with same suffix for different public objects?

I would like to be able to run the corresponding animation (ending with "Get" in the title) for whatever item GameObject I plug into this treasurebox. I made 2 prefabs for "item-get" animations today....
1
vote
0answers
33 views

Where should my 3D character's pivot/anchor be?

I created a 3d character with some animations a month ago and when testing the character in my game, I notice there are some weird interactions with the scenery that have me worried, particularly when ...
0
votes
1answer
24 views

Aligning animation frame assets with different sizes

I have code that changes texture in each frame depending on the player's state - walking, idle. My problem is that the idle texture (from separate png) has a slightly different size, and due to that ...
0
votes
1answer
29 views

How to stop an animation from looping

I want to make Unity play a squish animation when the player hits the ground, but only once, until the player jumps and hits the ground again, although Unity its constantly detecting that the player ...
0
votes
1answer
39 views

Unity: 'Quaternion.RotateTowards' animation is too fast (instantaneous)

I have a 'block-on-a-hinge' scenario where I just want it to smoothly rotate into the position of a stair step. I messed with this for a day and finally verified that my start and end angles are ...
0
votes
1answer
23 views

How can I apply setActive to a UI element after an animation finishes?

I have an object animation which plays on the opening of a scene. When the animation is over I want the UI slider to be setActive - allowing the user to rotate the object. I have both these elements ...
0
votes
1answer
41 views

Instant Animation Transitions? Nothing I read about is working

re-imported my character today with 3 new animations (JumpStartState, JumpDownState, JumpEndState) and moved all animation code into the PlayerController script. All of my animations are handled by ...
0
votes
1answer
30 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 ...
2
votes
1answer
64 views

Unity character vibrates during idle animation

My player character vibrates in his idle pose for some reason. He has 3 animations (IdleState, WalkState, RunState) and the latter 2 run smoothly, but when I don't provide directional inputs and he ...
0
votes
1answer
17 views

Armature's bone can't be rotated in Unity when I'm trying to rotate its chest toward its looking direction?

I want to rotate my character's chest, so its looking direction will be visualised correctly. But I think that the animation controller doesn't let me. I logged its rotation before and after I set ...
2
votes
0answers
21 views

Is it possible to export animations from Blender to Unity prefab without re-exporting entire character?

I have a fully rigged and animated character that I recently exported from Blender as an FBX to Unity. I need to make more animations for the character now but I am very tired of exporting the entire ...
0
votes
0answers
17 views

Alter shooting animation of character, based on its aim height, and attach weapon in Unity3D?

I have a rigged character, for which I downloaded shooting animations. But it always aims at the same height. How could I make it look for example upwards X degrees if the player is aiming that way? ...
0
votes
0answers
28 views

Unity Making a parry system where weapons collide (For honor style)

I've always been fascinated by games like For Honor and the way that when you parry an attack the weapons collide. Because of this, I wanted to implement such a feature in my own game. However, I ...
0
votes
2answers
26 views

How can I use the animation transitions?

So I want to make my animation transitions smooth, thats why I made transitions on the animator, but how can I activate them if I use trigger paramaters??? Heres the code: ...
0
votes
0answers
12 views

Animation doesn't play the same in-game as it does in the editor

When I play the animation normally without starting the game in Unity, it looks as desired. But when I play it in the game, the hand doesn't instantly scale to -1 it just slowly does it, as you can ...
0
votes
0answers
20 views

I can create a keyframe in Unity Animator but it wont save the new position!

I have been searching for a solution to this for literally hours. As you can see, I haven't found one so I'm posting here. I'm relatively new to Unity, and I'm using the Animator Window to create an ...
0
votes
0answers
41 views

How do I animate and move an NPC?

There is c++ plugin written with ScriptDragon, and here is trouble with SplineTranslateTo and TranslateTo - no moving animation: ...
0
votes
0answers
7 views

How to keep player position after animation stage change it in Unity2D?

Having some difficulty implementing and figuring out how changing the position through animation should work ... I have a child object with a single animation that only changes the image (player ...
0
votes
0answers
16 views

Javascript or Animation in general tween, spring, mouse tracking, mixing

Back story. I am a web developer and i can pretty much do anything on the web. When i first started doing some programming it was in flash actionscript 3, and i was 14 and now i am 29 and still i ...
0
votes
0answers
10 views

Frog-Lilypad Animation: Animate Unity2D Tilemap based on Player position

I'm developing my first Unity game, involving a frog jumping on lilypads. As the frog leaves a lilypad, I would like it to sink beneath the surface. Here's what I have currently, with the lilypads as ...
0
votes
0answers
30 views

How to import JSON animation file into Cocos Creator using Typescript?

I'm in the process of making a game and I want to import json animation file from remote resource into the game using Typescript, currently using Xampp as the localhost. There is no problem for me to ...
1
vote
1answer
28 views

How to set keys for emission on/off for a prefab?

I am making a prototype for a Mario game and am having difficulty completing a canned animation for a prefab. There is an item box asset that has 3 materials and an "ItemGet" animation. One of these ...
0
votes
1answer
45 views

How can I restart an animation?

The first time the player clicks a button, my animation plays properly. The problem is that when the player presses the button a second time, the animation does not play. Here is the code I'm using ...
0
votes
0answers
68 views

Unity “Convert To Entity” does not work (Render) with “Skinned Mesh Renderer” for Animations

I'm trying to make a game with Unity's ECS and Job System. I came across the issue where, Convert To Entity does not support Skinned Mesh Renderer. It does not render the mesh. I need it for ...
0
votes
0answers
14 views

Unity Animating Function Calls

I would like to use the Animator for calling a function at certain intervals. I have a function that changes sprites of an object and also does a couple of other things, that cannot be simply added ...
0
votes
0answers
20 views

How can I reduce memory use when implementing an animation in UE4?

We've already made a tank's track spline animation but it's using a lot of memory because it's implemented inside a tick function. So, it needs to check every second but as you may know it requires a ...
0
votes
0answers
47 views

Animation Rigging - Create an animation on editor

With the package "Animation Rigging" is possible to download the samples. But in the "animation window" it show the animation only with FK and not with IK. With the package "Animation Rigging" is ...
0
votes
0answers
17 views

Android problem with looped background

I'm making some sort of clone for FlappyBird, but with some adjustments. I'm trying to have an animated background running infinitely times. I already have the picture mirrored so the flow will be ...