I’m following a simple tutorial, showing how to make a litle 2D game (a normal project, with a still, ortographic camera), using primitives models.
This is the Update code from my Airplane object:
void Update ()
{
float amtToMove = Input.GetAxisRaw("Horizontal") * playerSpeed * Time.deltaTime;
float amtToMove2 = Input.GetAxisRaw("Vertical") * playerSpeed * Time.deltaTime;
transform.Translate(Vector3.right * amtToMove);
transform.Translate(Vector3.up * amtToMove2);
// more code non related to movement
}
When I imported a 3D model, it’s rotation wasn’t aligned to my stuff.

Then, I aligned it, rotating it’s X axis 270º.

But, when I tested, the vertical movement wasn’t happening. Watching the object Inspector, I notice changes in Y and Z position axis, but no movement happens. If I still increase those values, the object disapear ( I think it’s going away/before from camera’s vision range).
I’m sorry for the incorrect terms I’ve probably used. I’m totally new to CG/3D related programming.