vajaja.dev
Back to vajaja.dev

NPC Damage System

NPC Damage System for Unity

A modular Unity damage system that drives visual, physics and audio feedback from one ApplyDamage call.

NPC Damage System showing layered shader wounds on a character

Project role: Custom Unity shader and damage-system development

Technologies and areas:
UnityShaderDamage SystemRagdollPhysicsAudio

Progressive shader damage

A RenderTexture mask records damage strength at the impact point. Progressive scratch, abrasion and wound layers blend across color, normals, metallic and smoothness.

Ragdoll and audio response

The nearest ragdoll body part receives an impulse. Hit audio and its volume respond to force, connecting the impact to both physics and sound.

Independent damage modules

An optional Emission pulse highlights the damaged area, and each module can be enabled independently to fit the needs of a Unity project.

Discuss a Unity systems project