I myself modeled a rocket in the 3d max program. when i try to fly it it doesn’t fly. but when i put a box it flies. I did everything the same on both. In the second picture, the box has flown and is not visible, but the rocket I modeled falls to the ground. Why doesn’t my own modeled rocket fly?
{
rb = GetComponent<Rigidbody>();
}
// Update is called once per frame
void Update()
{
ProcessUcma();
ProcessDonme();
}
void ProcessUcma()
{
if (Input.GetKey(KeyCode.Space))
{
rb.AddRelativeForce(Vector3.up);
}
}
void ProcessDonme()
{
if (Input.GetKey(KeyCode.A))
{
Debug.Log("Sola Dönüş");
}
else if (Input.GetKey(KeyCode.D))
{
Debug.Log("Sağa Dönüş");
}
}
}