using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Landing : MonoBehaviour
{
public float speed = 3.0f;
public Vector3 direction = Vector3.up;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
transform.Translate(direction * speed * Time.deltaTime);
}
}
Vector3.up is (0, 1, 0) and 1 is the y so it should move up slowly but instead it’s moving forward.
What am i missing here ?