Unreal Engine C++ Course | ENG
  • About course
  • Links
    • Git
    • Visual Studio
    • Unreal Engine
  • Unreal Editor Hotkeys
  • Visual Studio Hotkeys
  • Console commands
  • Problems and solutions
    • Unable to start program error
  • Lessons
    • Lecture 065
      • Additive animation upon landing
      • Blocking shooting while running
    • Lecture 079
      • Pickup is visible after the ammo has been taken
      • Ammo is not picked up if character spends ammo at the pickup respawn point
    • Lecture 089
      • NiagaraSystem does not attach to muzzle
    • Lecture 148
    • Lecture 155
  • UE5
  • Automation
    • Code formatting
  • Student projects
Powered by GitBook
On this page

Was this helpful?

  1. Lessons
  2. Lecture 065

Additive animation upon landing

PreviousLecture 065NextBlocking shooting while running

Last updated 3 years ago

Was this helpful?

For this effect, you need to change the animation graph setup a bit.

  1. We create a GroundLoco state machine, it contains only the transition between the walking and running states:

2. Create our own PoseCache - GroundCahce for the state machine GorundLoco:

3. We remake the main state machine as follows:

4. Change the state of JumpEnd (in ApplyAdditive you can try different alphas):

5. In the JumpEnd animation asset, in AdditiveSettings, set: LocalSpace, Selected Animation Frame and in the Ref Frame Index, set the number of the last animation frame to 27:

Enjoy!