Thursday, 07 August 2025 19:00:19
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class Ball : RigidBody2D
|
||||
|
||||
public bool _active = false, _placed = false, _potted = false, _available = false, _hovered = false, _selected = false, _aimed = false, _launched = false, _moving = false, _isCue = false;
|
||||
public float _moveThreshold = 5.0f;
|
||||
public string _imagePath = null;
|
||||
public string _id, _imagePath = null;
|
||||
public Vector2I _rackPosition = new Vector2I(0, 0);
|
||||
public Manager _owner = null;
|
||||
|
||||
@@ -35,7 +35,7 @@ public partial class Ball : RigidBody2D
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (LinearVelocity.Length() >= _moveThreshold)
|
||||
else if (LinearVelocity.Length() >= _moveThreshold && !Sleeping)
|
||||
{
|
||||
ProcessOnMovement();
|
||||
if (!_moving)
|
||||
|
||||
Reference in New Issue
Block a user