333GameStudio

CameraFollow

May 18th, 2015
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var Zag : Transform;
  2.  
  3.  function Update(){
  4.      
  5.      transform.position=Vector3(Zag.position.x,transform.position.y,Zag.position.z);
  6.  }
Advertisement
Add Comment
Please, Sign In to add comment