반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- php 홈디렉토리 변경방법
- 게임
- 안드로이드
- tcp네트워크
- 스랄 특성
- 소캣(Socket)
- 에셋
- 히오스
- End of Darkness
- unity
- 리눅스
- 비행기 모드
- 자바
- 벨팡
- 나지보
- 기업의 행포
- 집 정리
- 안드로이드 Application Lifecycle
- 컬렉션 프레임
- Collection Framework
- tcp
- 아이폰
- 어플
- game
- 변경된 정보
- TCP 네트워크 방식의 연결
- 포트(Port)
- 아이패드
- 명령어
- 나지보 특성
Archives
- Today
- Total
Do Something IT
[Unity3D] Shake Object 본문
반응형
After much Googleing for how to do a camera shaking effect in Unity, I decided to write my own small script to accomplish the effect. It combines both positional movement with rotational movement to simulate closely an actual camera shake.
The two key variables are:
shake_intensity
Shake_intensity determines the initial intensity of the shaking — how much variance to allow in the camera position.
shake_decay
Shake_decay controls is the amount that shake_intensity is decremented each update. It determines if the shake is long or short.
JavaScript
C# (c# port by commenter georgeegonut. Thanks George!)
반응형
'Unity3D' 카테고리의 다른 글
[Visual Studio] 편집 관련 단축키 (0) | 2015.03.05 |
---|---|
게임에서 사용할 수 있는 포물선 운동 (0) | 2015.02.25 |
[Unity3D]Unity Assetbundle Memory Managerment (0) | 2015.01.05 |
[Unity3D] Ngui 재사용 스크롤뷰 관련 정보 (0) | 2015.01.05 |
[Unity3D]Procedural Asset Management in Unity (0) | 2014.12.29 |