10000 GitHub - suramaru517/AutoFootstep: Unreal Engine plugin to automatically set up character footsteps without any code.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

suramaru517/AutoFootstep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoFootstep

How to Use

1. Open Modifiers Window

Open an animation sequence or skeleton to add footstep notifies, and open the Animation Data Modifiers window.

AutoFootstep_Setup_01

2. Add Modifier

Add AutoFootstepAnimationModifier in the window and set its properties.

Settings to play Niagara and sound effect by surface type (Click to open)
  1. Define surface types in the project settings.

    AutoFootstep_Setup_02_01

  2. Create a data asset of AutoFootstepEffectContext.

    AutoFootstep_Setup_02_02

    AutoFootstep_Setup_02_03

  3. Open the data asset and press the Add All Surface Type Elements button, then set Niagara and Sound for each surface type.

    AutoFootstep_Setup_02_04

  4. Create physical materials for each surface type.

    AutoFootstep_Setup_02_05

    AutoFootstep_Setup_02_06

  5. Set the physical material to a mesh or material, such as a floor, where you want to change the footstep effect.

    AutoFootstep_Setup_02_07

  6. Go back to the modifiers window, set AutoFootstepAnimNotify to Notify Class and the data asset to Effect Context in Notify Params.

AutoFootstep_Setup_02_08

3. Apply Modifier

Apply AutoFootstepAnimationModifier in the window, then footstep notifies will be added automatically.

AutoFootstep_Setup_03

FAQ

How can I pass values from the modifier to my AnimNotify class?

Create a child class of AutoFootstepAnimationModifier and override On Notify Added, then apply it to the animations.

AutoFootstep_FAQ_01

How can I reuse the trace results?

Create a child class of AutoFootstepAnimNotify and override On Trace Hit, then add it to the animations.

AutoFootstep_FAQ_02

I want to play the footstep effect manually

You can use Play Effect by Surface Type of AutoFootstepEffectContext.

AutoFootstep_FAQ_03

I want to apply the modifier to all walk/run animations

If you have a naming convention in the folders or animations, you can use Path Filters in the modifier to filter the animations to apply it.

I am not sure if the notifies are working properly

You can set Draw Debug Line in the modifier to true to see if it works.

Extra notifies are added

Please try to increase the value of Ground Height Range in the modifier.

Notify frames are shifted

Please try to increase the value of Grounded Threshold in the modifier.

About

Unreal Engine plugin to automatically set up character footsteps without any code.

Resources

License

Stars

Watchers

Forks

0