git checkout -b test origin/test
http://stackoverflow.com/questions/1783405/git-checkout-remote-branch
git checkout -b test origin/test
http://stackoverflow.com/questions/1783405/git-checkout-remote-branch
메일 타입을 HTML로 해서
이미지 데이터를 포함시킨다.
NSData *imageData = UIImageJPEGRepresentation(myImage, 1.0f);
NSString *encodedString = [imageData base64Encoding];
[emailBody appendString:[NSString stringWithFormat:@"<p><b><img src='https://t1.daumcdn.net/cfile/tistory/275C1D4656E67CA00C",encodedString]];
http://stackoverflow.com/questions/14859463/how-to-send-image-in-email-body
** 지구와 달이 될 오브젝트를 생성
Shphere를 2개 생성해서 배치
** Texture입히기
지구와 달에 입힐 이미지를 프로젝트에 추가후, 오브젝트에 드래그&드롭
** 그룹핑
달을 지구주위로 돌게 하기 위해, 달 오브젝트를 지구 오브젝트에 드래그&드롭
** 스크립팅
자바스크립트 생성.
자전하는 코드를 작성.
달은 지구에 속해있으므로 공전된다.
#pragma strict
var speed:float;
function Start () {
}
function Update () {
var direction = -1;
this.transform.Rotate(Vector3.up * direction * speed *Time.deltaTime);
}
** 스크립트 적용
지구오브젝트와 달 오브젝트에 각각 스크립트를 적용.
** 속도 조절
Script의 speed의 수치를 조절
참고
http://www.youtube.com/watch?v=PQA80_J2-OQ