We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b8bf0 commit 7496444Copy full SHA for 7496444
Assets/Scripts/StickToMagnet.cs
@@ -32,8 +32,6 @@ public void ReleaseBall()
32
// Clear velocities
33
stuckBall.linearVelocity = Vector2.zero;
34
stuckBall.angularVelocity = 0f;
35
-
36
- // Optional: Slightly move the ball away from the magnet to prevent re-triggering
37
stuckBall.position += Vector2.down * 0.1f;
38
39
stuckBall = null; // Clear reference
0 commit comments