// this works
if (Input.GetKeyDown(KeyCode.UpArrow))
{
Rigidbody2D tester = this.GetComponent<Rigidbody2D>();
tester.AddForce(transform.up * 1000f);
}
// i change it to this it does not work
if (Input.GetKeyDown(KeyCode.UpArrow))
{
Rigidbody2D tester = this.GetComponent<Rigidbody2D>();
tester.AddForce(transform.forward* 1000f);
}
Heres a screenshot:
https://snipboard.io/T0MXFK.jpg