alright i made it work by modifying your code:
here is the final one:
rigidbody2D.AddRelativeForce(new Vector3 (0,Speed));
Submit that code as answer and i will accept it.
Thank you
↧