void Start(){ waveFactor = new Vector3 (xCom, yCom, zCom); waveStartPos = transform.position; } void Update(){