Tweaked spread of gold bars.
parent
af0fb54f23
commit
6b12be3594
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue