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

How to fix animation script so that humanoid character holds their weapon

I am trying to follow this tutorial video about setting up an third-person shooter character in Unity. But my character will not hold their weapon. I'm also getting the following warnings in my ...
1
vote
2answers
31 views

What is the correct approach to swapping between rigged models at runtime?

Lets say we are making an RTS and at runtime a unit can go from worker to soldier to baker to forester to male to female and so on, you get the idea. This requires several different character models. ...
0
votes
0answers
19 views

shader can't read data except position, texcoord, normal

i want to read bone's weight but shader can't read data this is my vertex type ...
0
votes
1answer
18 views

Libgdx changing animation during runtime?

I've made an animation class that creates an animation for a player. However, I'm wondering how I can change the animation depending on where the player is currently moving? Heres my animation class: <...
0
votes
0answers
27 views

Unity - How to export equipment properly from Blender?

I'm trying to work out the Blender-to-Unity workflow for equipable items. At the moment, I've got a character animated for running, idling, jumping, etc. Now, I want to add equipment for him. I ...
1
vote
2answers
151 views

What does "Write Defaults" in the animation state inspector actually do?

In my Unity project, I had an issue recently where a tool which autogenerated animation controller layers caused issues with existing layers because it was generating layers with Write Defaults set to ...
0
votes
1answer
60 views

What is an alternative solution to the problem of polygon collider2D not following character (animation)movement?

A 2D game and a bird's eye view of the character. This character, who has a knife in his hand, swings the knife by waving his arm, just at this time, I look at "polygon collider2d" from the ...
0
votes
1answer
36 views

Control a specific material property in a mesh renderer?

I want to animate a mesh which has 4 materials, all of them are using the same shader. now, I want to animate the "emission" property of material[0] and material[2], but not material[1] and ...
0
votes
0answers
17 views

Using generic animations with different weapons in Unity/Blender

Working on a game in which players can upgrade their weapons. I've animated a character to hold a weapon, but I don't want to create a unique animation for each weapon. How do I create a relationship ...
0
votes
1answer
38 views

Trying to access existing animator SetTrigger does nothing and returns error

First of all, I have a character with 2 armatures (Upper/Lower Body), where the Upper Body is the child of the Lower Body's root bone (Hip). This is intended, and I really don't want to touch the ...
0
votes
0answers
10 views

How to combine and export multiple NLA tracks of 2 armatures (Blender) to Unity?

As per first experience I created multiple tracks (and also "added" more animation to first tracks thinking I edit them but instead I just created more tracks for same animations) for 2 ...
1
vote
0answers
88 views

How Can I Get My Player Animation To Remain Flipped After Turning?

I have a player character in Unity with two separate animations. The first is the body moving, and the second is the character's face moving. These two are not made as a single animation because they ...
0
votes
0answers
11 views

Is there a way to ignore certain properties on animation curves in Unity?

I have animated a sprite's movement animation with a rotation on the gameObject's transform's by setting Rotation.z to -15. This leans it forward. When I started moving it in the other direction, I ...
0
votes
0answers
14 views

Move animation bones hierachy

I took an asset from the asset store with some animation. The animation expect the Animator to be put directly on the object that contains all the bones. => fbx (with animator) => bones I would ...
0
votes
0answers
14 views

Unity `Animatior.keepAnimatorControllerStateOnDisable` doesn't work properly

I encountered an issue with Unity Animator component. Having 2 states: Normal (default state with no animated fields) Highlight (with animated fields) I call ...
1
vote
0answers
19 views

How to calculate local orientation of child relative to parent from only global positions?

I am trying visualize a human finger's pose with a 3D model in Three.js. The 3D model is composed of 3 bones that represent the proximal, middle, and distal bones of the human finger, connected in ...
0
votes
0answers
15 views

Can I move the player with NavMeshAgent only?

I am making a prototype of a 3rd Person Controller for a minigame with Gamepad or Keyboard/Mouse (not point and click). I setup a terrain and NavMesh for my AI, and would like to use that NavMesh ...
0
votes
1answer
66 views

OpenGL Vertex Shader "joint matrix * weight" multiplication performance

Trying to implement animation on my engine. I'm at the first stage, rendering default pose of skinned meshes. Working as expected but very slow. With the below calculation, the shader takes 6ms to run....
0
votes
0answers
38 views

Using transitions and animating my human body such as getting up and walking

I'm pretty new to Unity and I need help. So my problem is: I have my human laying in bed, I press start the game and he starts walking, he ignores the getting up animation and goes straight to the ...
1
vote
1answer
22 views

Root Motion: Where is left / right rotation coming from?

I am using a generic animation on a generic character (coming from Mixamo). The original animation does include root motion. However, the animation contains of a "straight forward" walk ...
0
votes
1answer
21 views

Unity Animator Ignoring "Higher" Layers

I have a rather rudimentary layer set up: Lower Body: no mask, full weight, override. Upper Body: upper body mask, full weight, override. This works as intended. Standing Up: full body mask, full ...
1
vote
0answers
55 views

Turnaround animation

So I have a Moose with 3 animations: idle, walk, turnaround. Idle and walk are mostly self explanatory while the spritesheet for the turnaround animation looks like this: I set an animator with 3 ...
0
votes
1answer
31 views

How do I convert 2d character rigging animation to frame by frame sprite animation?

In this video after about the 8th minute, he says he converted them from character rigged animation to the frame by frame animation, so I searched but couldn't find any answers on google. How do I ...
1
vote
0answers
13 views

How do I read animation properties in Unity?

I have tried to recreate an animation for another model. I iterated through all keyframes and re-created them in a new animation clip. However, the new animation does not look perfectly right, it has ...
0
votes
0answers
18 views

Animation is inconsistent when firing

When the joystick value is 0.7 and above, it is constantly firing and animation plays at the same time. (Gun recoil) It's okay. However, when I fire only once, the animation plays 2 times. (until ...
0
votes
0answers
10 views

How do I keep root motion intact while changing Rig to Humanoid?

I have an animation with root motion. Here is how it moves: When I change the Rig from "Generic" to "Humanoid", it loses the root motion and instead walks in-place: How do I keep ...
1
vote
0answers
21 views

How to use animation curves to ease in out?

The script is attached to the transform that moves to target : ...
1
vote
0answers
21 views

Root Motion animation clipping through Rigidbody objects? (Unity 3D)

I am trying to program a climbing system. Player has rigidbody, ledge has rigidbody. Both also have Colliders, and the Player animator is set to use Root Motion. When Player grabs ledge and climbs up ...
0
votes
1answer
28 views

How do I make animation positions relative?

I have a "reload gun animation". Currently, this animation makes the character move from its current position to position (0, 0, 0). This doesn't make sense. What you could I check to make ...
0
votes
0answers
11 views

Unreal: Paragon features: Best way to find the lean angle

I've been trying to follow the Laurent Delayen talk about distance matching and different techniques. Leans are tricky for me. This is the trigger from the talk. What is the best way to approach this?...
0
votes
0answers
25 views

Posing a skeleton & seeing it update in the viewport in UE4

My dilemma I am facing is: I have modelled a Neuron (octupus looking thing) in blender and attached an armature to each tentacle so that I can pose it in Unreal. Export to UE4 with skeletal mesh, open ...
1
vote
1answer
334 views

How to play videos in Gamemaker Studio 2?

I made a little cutscene in Adobe Animate. I was wondering what would be the best way to have it triggered in game-maker studio 2. The Video is .mp4 but I could convert it as I have the .fla file ...
0
votes
1answer
29 views

Unity2D: Character goes up and down during idle animation

My character is idling but his feet are changing position during the animation: it seems he's floating. I would like to have the character with his feet stuck. Video to visualize the issue: https://...
1
vote
0answers
48 views

Why do large creatures in some games seem like they have no mass when rotating? [closed]

Why do large characters/creatures in some games seem like they have no mass, especially when the pivot on X axis to change their heading? Imagine a space game where there is a large ship. Typically ...
0
votes
1answer
23 views

Is there a way to add animation for just one part of body?

I have 3D character. I added "walk" animation to it and as you know this animation effects all part of body. But I don't want animation effect upper body. Because I want character hands to ...
4
votes
1answer
176 views

Why do my 3d models have a strange after-image effect?

On my Unity project I have a strange behavior for my 3D model which I bought on the Unity asset store. If I move the player, there appears a wired shine / glow… seems that the character does not move ...
3
votes
1answer
31 views

Triggering animation only its position changes?

I am a newbie on coding, wanted to work on a game as practice and started to work on a 2D top view game, and on a barren desert area, I have a Twigball for my player to touch and move it because of ...
0
votes
0answers
14 views

Panner Node (Planet Material Day/Night Map)

I made an Earth material that rotates and shows day and night by combining different maps and masks (Similar to these set ups https://youtu.be/FMU1FkHFHXk AND https://youtu.be/ugXWt6AmudY). The logic ...
2
votes
0answers
31 views

How do I iterate through keyframes in an animation clip?

I have an animation clip that animates a complex model. I would like to ask if it is possible to iterate through all bones and their key frames like that: (pseudo code) ...
0
votes
0answers
21 views

How do I translate anim values to script?

I need to copy the values of an anim file to a new animation clip. However, I don't understand how these values could be translated to / by script. I see several key frames, but not all key frames ...
-1
votes
2answers
48 views

Phaser 3 animation API

I am following the tutorial for Phaser 3 game development and came across the following line of code. player.anims.play('Left', true); I am curious about the ...
1
vote
1answer
37 views

Is there a way to create animation from array of 2d sprites in runtime that works in build in Unity

I have an array of sprites that is created at runtime and I would like to create animation from it, so the specific animation would also exist at runtime only it would act as preview animation. I ...
2
votes
0answers
26 views

How to animate a customizable pixel art platformer character?

I am working on a 2d platformer which is made up of pixel art. I want to make my character customizable like in stardew valley. How can I implement it and create animations for my game like run , idle ...
1
vote
1answer
88 views

which is more performant particles_system or animation_player

let's say I wanna make an Aura+Thunder effect , I can achieve the result using the Particles System like this vid: https://www....
0
votes
0answers
27 views

Only part of my model animates, the rest stays still

I made an animation for when my character grabs a ledge, which has him set his arms and head into a position, and have him swing his legs back and forth, however only his legs move and his arms and ...
1
vote
1answer
73 views

Storing 2D animation frames and sharing them between objects

I store 2D animation frames in some class. But the problem is that when I want to create multiple objects for example I want to spawn explosion or enemy ...
1
vote
0answers
11 views

How to create an animation clip that changes whatever color a RawImage has to a certain destination color?

I created an animation clip that turns a certain RawImage's color from white to red. I'd like to know how I could change that clip to turn any color that the RawImage might have into red - with other ...
1
vote
1answer
17 views

Managing multiple animation files in a Unity project

I am on my project, but find it hard to understand what I'm missing from those few animation and rigging tutorials. I have an FBX I modelled and rigged from blender... Or I could just take a model ...
0
votes
0answers
19 views

Designing an API for defining rigged game entities

I am making a game framework for building/constructing what I would imagine are called something like "multi-component rigged entities". This would be things like a stick-figure drawing. Can'...
0
votes
1answer
71 views

Mixamo Rig Hierarchy Reference (In Text List/Tree format)? (modelling in Maya for use in Unity and Mixamo)

I'm trying to find a quick reference to match Mixamos rigging hierarchy. I'm confused over which bones are 'root' and how many bones in the spine/pelvis/chest etc. I want my characters I make in Maya ...

1
2 3 4 5
29