Fix stuff
This commit is contained in:
@@ -17,7 +17,7 @@ public partial class ThrownItem : RigidBody3D
|
||||
public void OnResolved()
|
||||
{
|
||||
BodyEntered += ThrownItem_BodyEntered;
|
||||
GlobalPosition = Game.Player.GlobalPosition + new Vector3(0, 1.5f, 0);
|
||||
GlobalPosition = Game.Player.GlobalPosition + new Vector3(0, 1f, 0);
|
||||
Sprite.Texture = ThrownItemStats.Texture;
|
||||
AddCollisionExceptionWith((Node)Game.Player);
|
||||
}
|
||||
@@ -39,22 +39,22 @@ public partial class ThrownItem : RigidBody3D
|
||||
|
||||
private void ThrowInternal(WeaponStats weaponStats)
|
||||
{
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 5.0f);
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 12.0f);
|
||||
}
|
||||
|
||||
private void ThrowInternal(ArmorStats armorStats)
|
||||
{
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 5.0f);
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 12.0f);
|
||||
}
|
||||
|
||||
private void ThrowInternal(AccessoryStats accessoryStats)
|
||||
{
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 5.0f);
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 12.0f);
|
||||
}
|
||||
|
||||
private void ThrowInternal(ConsumableItemStats consumableItemStats)
|
||||
{
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 5.0f);
|
||||
ApplyCentralImpulse(-Game.Player.GlobalBasis.Z.Normalized() * 12.0f);
|
||||
}
|
||||
|
||||
private void ThrowInternal(ThrowableItemStats throwableItemStats)
|
||||
|
||||
Reference in New Issue
Block a user