Make attack animation follow the character (#1071)
* Fix #971 * Make atacker parent of the animation instead
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Content.Client.GameObjects.EntitySystems
|
||||
entity.Transform.LocalRotation = msg.Angle;
|
||||
|
||||
var weaponArcAnimation = entity.GetComponent<MeleeWeaponArcAnimationComponent>();
|
||||
weaponArcAnimation.SetData(weaponArc, msg.Angle);
|
||||
weaponArcAnimation.SetData(weaponArc, msg.Angle, attacker);
|
||||
|
||||
|
||||
foreach (var uid in msg.Hits)
|
||||
|
||||
Reference in New Issue
Block a user