Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vector3 targetPostition = new Vector3( target.position.x,
- this.transform.position.y,
- target.position.z ) ;
- this.transform.LookAt( targetPostition ) ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement