Commit graph

16 commits

Author SHA1 Message Date
in0finite
a729fa7692 add 'attackingPlayer' to DamageInfo 2021-02-19 22:08:37 +01:00
in0finite
d6d5d660cf wip on ragdoll 2021-01-04 01:28:58 +01:00
in0finite
2e0108d662 cleanup code 2020-07-01 19:25:59 +02:00
in0finite
115821f2da add hit point and hit normal to DamageInfo class 2020-07-01 18:52:35 +02:00
in0finite
99c1cf8ecc ped can not be damaged by explosion while he is in vehicle 2020-06-29 17:50:33 +02:00
in0finite
9734b6f515 damage type can be specified when damaging object 2020-06-29 17:11:29 +02:00
in0finite
363ec0dd0e remove unused variable 2020-06-28 23:57:09 +02:00
in0finite
b8051fe2d9 don't use collider's transform position when checking for distance 2020-06-28 23:56:20 +02:00
in0finite
7da990e105 use bounds center if ClosestPoint() function does not work 2020-06-28 20:38:23 +02:00
in0finite
bfdb8a5ba0 use curve for adjusting damage over distance 2020-06-28 16:35:35 +02:00
in0finite
9d18c2ec55 inflict damage based on distance to closest point on all colliders 2020-06-27 21:55:04 +02:00
in0finite
9678faa18a inflict damage to nearby objects 2020-06-21 18:21:15 +02:00
in0finite
faf96838b9 implement basic vehicle damage logic 2020-06-09 18:34:15 +02:00
in0finite
2fec510ce3 display inflicted damage as on-screen message 2020-05-31 19:09:58 +02:00
in0finite
83659395e1 run exception-safe 2020-05-31 19:09:58 +02:00
in0finite
756f7e8563 move Damageable class to Utilities assembly 2020-05-31 19:09:57 +02:00
Renamed from Assets/Scripts/Behaviours/Damageable.cs (Browse further)