RiigidBody2D.AddForce() isnt working at all.
I tried everything i could think of lowered the mass to 1 and the gravity scale to 0, I checked that the rigidbody2d is dynamic and stimulated and made sure to use large units but the force wont apply ,no errors are showing up and the character wont move at all.
if (Input.GetButtonDown("Jump")) //makes player jump { Debug.Log("add force"); rb.AddForce(new Vector2(1110f, 5000f), ForceMode2D.Impulse); Debug.Log("force added"); }
Your answer
Follow this Question
Related Questions
RigidBody2D AddForce Not Adding Acceleration 0 Answers
How to make arrows fly to user mouse position? 0 Answers
How to stop the character moving after the button is pressed, using Rigidbody2D()..AddForce? 1 Answer
Addforce trajectory 0 Answers
Inconsistent jump height and double jumping issues with rigidbody2D on a sprite 0 Answers