UNİTY2D KNOCKBACK

İ am working on a platformer game and i need added a player knockback with rigidbodies (rb.AddForce(new Vector2(10,10), ForceMode2D.İmpulse)); but y axis working x axis is not working idk why can you help me please?

check your freeze positions on rigid body

x axis is not locked i checked it.

Yesterday I answered your question on the thread I opened. Please read it.

I couldn’t find your thread can you send me a link please?

https://discussions.unity.com/t/775110/5

Sorry, I thought you were the same guy for some reason.

1 Like