Tweaked spread of gold bars.

WorldChunkRefactoring
Martin Felis 2023-06-22 18:35:20 +02:00
parent af0fb54f23
commit 6b12be3594
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class Chest : Entity
bar.Transform = new Transform(Transform.basis.Rotated(Vector3.Up, GD.Randf() * 2 * Mathf.Pi), Transform.origin + Vector3.Up * 0.8f);
bar.velocity = new Vector3(
(GD.Randf() * 2f - 1f) * 2,
5,
5 + GD.Randf() * 0.3f,
(GD.Randf() * 2f - 1f) * 2
);
GetParent().AddChild(bar);