250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 패럴렉스
- Ainimation Blending
- Object Pooling
- raycast
- 프리팹
- Scrooling
- apk
- Hp바
- 일시정지
- 오브젝트 풀링
- CSharp #자료구조
- Object Poling
- Prefabs
- rigidbody
- 플레이어 방향전환
- Parallax
- 스크롤링
- joystick
- raycasting
- Animation State Machine
- 2D슈팅게임
- Blend Type
- Vector3
- rotation
- LayerMark
- 유니티
- Unity
- Transform
- Hpbar
- 플레이어 이동
Archives
- Today
- Total
목록회전 (1)
주녘공부일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/Cik5n/btrtVpRQIVK/UtHshnYKfk3gTn2MS9Vlw1/img.png)
Rotation (회전) 월드 공간상에서의 트랜스폼의 회전을 나타냄 ( Quaternion으로 저장 ) Quaternion은 복잡한 수를 기반으로 하기에 직관적으로 이해하기 쉽지 않으므로, 회전에 사용한다고만 알아둠 1) transfrom.Rotate using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { float _yAngle = 0f; void Update() { transform.Rotate(new Vector3(0f, Time.deltaTime * 100f, 0)); // y축 방향으로 회전 _yAngle += Time.del..
GameEngine/UnityEngine - Class
2022. 2. 21. 20:23