Added a bit of sucking to pressers
This commit is contained in:
@@ -27,8 +27,6 @@ namespace Fruitomation.Game
|
||||
if (hit.collider is null)
|
||||
{
|
||||
Vector3 force = new(-transform.localScale.x, 0f, 0f);
|
||||
Debug.Log(mag);
|
||||
|
||||
body.AddForce(force * (12f / mag), ForceMode2D.Force);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user