my 2d character vibrates when jumping and moving to the side 2d

this link goes to the vid about my problem(dont worry this isnt a rickroll)

game res: 256 x 144 I use pixel perfect camera

Add comment

It looks like you might be using a Transform.Translate with your jump. I would recommend calling the RigidBody2D and use the addforce

[SerializeField] RigidBody2D rb2d;
public float JumpForce;
void Start()
{
rb2d = rb2d.getcomponent();
}

void Update()
{
if (Input.GetButtonDown(“Jump”)
rb2d.AddForce(transform.up * JumpForce);
}