A downloadable asset pack

Buy Now$9.99 CAD or more

A complete NavMesh-driven NPC behaviour system and player controller setup: fully animated, ready to drop into your 3D action game. Saves hours on Player movement and NPC state-machine setup.

NPC behaviour runs as a visual Animator state machine. Wander, Chase, and Attack are built in the Animator window.

NPC AI

  • NavMesh agent with a visual Animator state machine: Wander, Chase, Attack
  • Detects targets by tag
  • Hostile / Peaceful toggle: hostile NPCs seek and attack, peaceful ones only wander

Player

  • Rigidbody movement with a smooth Idle to Jog to Run blend, a grounded jump, and a melee attack
  • Swappable input: plug in the new Input System, touch, or AI-driven controls without touching movement code

Animations included and ready to use

  • NPC: Idle, Run, Attack, Death (2D Freeform Directional blend tree)
  • Player: Idle, Jog, Run, Jump, Attack, Death (1D blend tree, Idle to Jog to Run)

Combat, kept optional Health, damage, and death are handled by small, optional sample scripts, separate from the core AI and Player controllers. Both the NPC and Player attack scripts deal damage inside a configurable forward cone, 120 degrees by default, so a target that slips behind mid-swing doesn't take a hit for free. Use them as a starting point, tune the numbers, or delete them if you're building your own combat system.

Good fit for

  • Roguelites and top-down action
  • Any 3D game that needs simple, readable melee enemy AI as a starting point

Requirements

  • A baked NavMesh in your scene
  • Unity 6000.3 or newer (tested on 6000.3.8f1 and 6000.5.3f1)

Is it a fit? Movement is world-space, not camera-relative, and the character always faces the direction it's moving. That's a strong fit for top-down and isometric games. A third-person camera angle would still work visually, but the always-face-movement behavior means it won't feel like typical third-person controls. The NPC side is unaffected either way. If you swap in your own Player script for a different control style, reuse the included Animator parameters to keep the animation setup.

Support: mindentertainmentco@gmail.com

Purchase

Buy Now$9.99 CAD or more

In order to download this asset pack you must purchase it at or above the minimum price of $9.99 CAD. You will get access to the following files:

PlayerNPCBehaviourFramework_6000.5.3f1.unitypackage 51 MB
PlayerNPCBehaviourFramework_6000.3.8f1.unitypackage 51 MB

Leave a comment

Log in with itch.io to leave a comment.