gd: weapon throws orients and throws itself correctly
This commit is contained in:
@ -75,7 +75,9 @@ public partial class DashSystem: Node3D
|
||||
shouldMantle = mantleResult.IsSome(out mantleLocation);
|
||||
}
|
||||
|
||||
var targetColor = shouldMantle ? new Color(0.2f, 0.2f, 1f) : new Color(1f, 1f, 1f);
|
||||
var targetColor = hasHit ? new Color(1f, 0.2f, 0.2f) : new Color(1f, 1f, 1f);
|
||||
targetColor = shouldMantle ? new Color(0.2f, 0.2f, 1f) : targetColor;
|
||||
|
||||
var targetMaterial = (StandardMaterial3D) _dashTarget.GetSurfaceOverrideMaterial(0);
|
||||
targetMaterial.SetAlbedo(targetColor);
|
||||
_dashTarget.SetVisible(true);
|
||||
@ -106,4 +108,14 @@ public partial class DashSystem: Node3D
|
||||
_tweenQueueSystem.QueueTween(DashResolve.MantleLocation, 0.2f);
|
||||
}
|
||||
}
|
||||
|
||||
public void DashToThrownWeapon()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void DashToPlantedWeapon()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user