I’ve been playing around with adding knockback to attacks in my game through rigidbody.AddExplosionForce. It’s been working fine, but I need to know something related to that:
One attack, instead of giving a knockback effect, is supposed to draw its targets closer to its centerpoint. How do I do this with rigidbodies?