View
2.157
Download
7
Category
Preview:
DESCRIPTION
Unity3D 의 BoneAnimation plugin인 SmoothMoves에 대해 정리한 자료입니다 (StudioEX 개발1팀 내부 발표용)
Citation preview
About SmoothMovesSmoothMoves 살펴보기
Ted Hongtwitter : @sungwooksmail : sungwooks@gmail.com
왜 Skeletal animation을 사용하는가?- 부드러운 애니메이션 구현
SmoothMoves 의 사용예- 판타지러너즈
SmoothMoves 의 사용예- 다같이 칼칼칼
SmoothMoves 사용 순서
원화 제작 및파츠 분리
AtlasEditor 에서 파츠 이미지를 불러와 Atlas생성
Animation Editor에서 파츠 불러오
기
Animation 만들기 사용
1. Bone Hierarchy 구성2. 모든 첫번째 KeyFrame 선택3. Set Atlases
1.Keyframe Type 선택 : Image2. Atlas 선택 : 이전에 만든 Atlas
Create Bone Animation ObjectHierarchy-Create-SmoothMoves-BoneAnimation
Bone Animation Component - Data 선택
SmoothMoves 의 기능
- User Trigger- Collider- Mixing Textures- Switching Textures- Swapping Materials- Mixing transforms
1. trigger를 발생시키고자 하는 Bone 의 원하는 Frame 선택2. Use Trigger 체크
Script :1. 사용자 Trigger를 발생 시키겠다는 것과 발생 시 실행 시킬 함수명(SwordSwish)을 시스템에 등록해줌2. 함수 생성
1. Mix 옵션 체크
2. Bone 앞에 체크박스가 노출되는데 Mix 가 적용될 Bone 의 체크박스에 체크
3. 애니메이션을 다른 레이어에서 출력하는 개념이기 때문에 기본 레이어(보통 Layer 0)보다 상위 레이어로 변경
Script :
1. 변경할 이미지를 선택한다2. 이미지는 바뀌었으나 중심점이 맞지 않을 수 있다.
1. No Pivot Key 체크2. Pivot Point 변경하여 적당한 위치로 이미지를 이동시킨다
Swapping Materials
- 동적으로 Skeleton Animation 의 Material 을 변경할 수 있습니다.- 스킨 변경 또는 성능 최적화 용도로 사용 할 수 있습니다.
Recommended