Skip to content

Commit 7496444

Browse files
authored
Update StickToMagnet.cs
1 parent a4b8bf0 commit 7496444

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Assets/Scripts/StickToMagnet.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public void ReleaseBall()
3232
// Clear velocities
3333
stuckBall.linearVelocity = Vector2.zero;
3434
stuckBall.angularVelocity = 0f;
35-
36-
// Optional: Slightly move the ball away from the magnet to prevent re-triggering
3735
stuckBall.position += Vector2.down * 0.1f;
3836

3937
stuckBall = null; // Clear reference

0 commit comments

Comments
 (0)