now that's an animation
This commit is contained in:
@@ -1735,6 +1735,13 @@ public partial class PlayerController : CharacterBody3D,
|
||||
}
|
||||
|
||||
if (!WeaponSystem.InHandState.Active) return;
|
||||
PerformHit();
|
||||
}
|
||||
|
||||
public void PerformHit()
|
||||
{
|
||||
HeadSystem.OnHit();
|
||||
|
||||
var bodies = WeaponHitbox.GetOverlappingBodies();
|
||||
foreach (var body in bodies)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user