Skip to content

BrianLandes/Meat-Puppet

Repository files navigation

Meat-Puppet

A Unity package for controlling and animating 3D humanoid characters, especially NPCs.

Description

Meat Puppet is a Unity asset that quickly and easily gives humanoid characters life. It can be applied to any 3D model and handles animating them and moving them around the environment. Meat Puppet is intended to handle most (if not all) NPC and game character needs, eliminating the need to mess with Animation Controllers.

Setup Is Easy

  1. Add the 'Meat Puppet Manager' prefab to the scene.
  2. Add the 'MeatPuppet' component to any character (alongside the Animator component).
  • Bake Unity Navigation Mesh.
  • Turn 'running' on or off on the character.
  • (Optional) Give the MeatPuppet a destination.
  • (Optional) Add player controller components to the Meat Puppet for player control.

Features

  • Animates various states of locomotion, including walking, running, strafing, and jumping.

Animation Controller Locomotion

  • A character can be given a transform, a world position, or a direction and they will navigate and move to the destination.

Navigation

  • A character can ALSO be given another target, which they will turn to face, even while moving to a seperate point.

Moving and Facing

  • Meat Puppet uses physics to move the character, which results in dynamic and interesting collisions with other characters and objects.

Collision

  • A unique 'Capsule-and-spring' design allows the character to 'glide' over uneven terrain, stairs, and slopes.

Uneven Terrain Stairs Slopes

  • Playing custom animations on the character simply involves either starting/stopping a looping animation, or firing a 'one-shot' animation.

Looping Animations One Shot Animations

  • Supports moving and spinning platforms.

Moving Platforms Spinning Platforms

  • Meat Puppet can also be used to control the player!

Player Controller

Credits

Animations and character were obtained from Mixamo.

About

A Unity package for controlling and animating 3D humanoid characters, especially NPCs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages