Hi, I’m creating a VR game and I want to attach the space ship to the camera so it moves with it but its to static, I want to make it more realistic, it could be limitate the Y and X to a lower speed but I don’t know how. Could You Help Me? I speak Spanish so I don’t write that good Thanks. C# is Beter.
I have this so the Space Ship with the camera could move:
public float Speed;
public GameObject SpaceShip;
void Update()
{
SpaceShip.transform.Translate (Vector3.forward * Speed * Time.fixedDeltaTime);
}
Is realy short