Westdespair / Lab-Escape

Project developed in game development class fall 2022
0 stars 0 forks source link

Implement health and damage systems #3

Closed Westdespair closed 2 years ago

Westdespair commented 2 years ago

Implement basic health and damage systems. Objects with health can take damage and will "die" (destroyed in prototype, ragdoll later?) if their health reaches zero. Rays and colliders can deal damage to objects and "kill" them.

Westdespair commented 2 years ago

Colliders can now deal damage to health havers. Gameobjects with the "health" component are destroyed when their health reaches zero.