일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- OVR
- Oculus
- 개발
- 길건너 친구들
- 가상현실
- Unity
- 아마존
- 오브젝트 풀링
- 유니티
- 포트폴리오
- 팀 프로젝트
- AWS
- 드래곤 플라이트
- CGV
- 연습
- Amazon S3
- Photon Fusion
- 개발일지
- 멀티플레이
- 모작
- 유니티 Json 데이터 연동
- ChatGPT
- 유니티 GUI
- 팀프로젝트
- meta xr
- 드래곤 플라이트 모작
- 유니티 UI
- VR
- 오큘러스
- meta
- Today
- Total
목록전체 글 (194)
EasyCastleUNITY

유니티에는 물리 엔진이 포함되어 있다. Rigidbody는 컴포넌트 https://docs.unity3d.com/kr/2021.3/Manual/class-Rigidbody.html 리지드바디 - Unity 매뉴얼 Rigidbody 는 GameObject 가 물리 제어로 동작하게 합니다. 리지드바디는 힘과 토크를 받아 오브젝트가 사실적으로 움직이도록 해줍니다. 리지드바디가 포함된 모든 게임 오브젝트는 중력의 영향을 docs.unity3d.com https://docs.unity3d.com/ScriptReference/Rigidbody.html Unity - Scripting API: Rigidbody Adding a Rigidbody component to an object will put its moti..

전체 화면 ---게임의 간단한 개요--- 이동버튼을 누르면 그 방향으로 플레이어가 이동합니다. (PC에서는 화면 클릭과 키보드를 통해 움직일 수 있습니다.) 플레이어 캐릭터의 체력은 총 10으로, 화살에 부딫칠때마다, 체력이 1씩 감소합니다. 점수는 화살이 바닥에 닿으면 올라가며, 이때마다 100씩 증가합니다. 플레이어 캐릭터의 체력이 0이 되면, Game Over라는 문구가 나오며 게임이 종료됩니다. 점수는 더 이상 올라가지 않으며, 플레이어 또한 움직이지 않습니다. ---제작 과정에서의 주의한 점--- 1.플레이어가 버튼을 계속 누르면, 캐릭터가 렌더링 영역 밖으로 나가는 문제가 있었다. 이러한 문제를 Mathf.Clamp라는 메서드를 통해 해결했다. https://the-pond.tistory.co..

오늘 해보면서 새롭게 알게 된 점들에 대해 정리해보았다. 1. Translate, Rotate의 선택적 매개변수 => Space.Self(local 좌표계 기준으로 실행) | Space.World (world 좌표계 기준으로 실행) 2. 감쇠계수 => 값을 자연스럽게 늘리는 방법 3.Input.mousePosition => 좌표를 입력받는 다는 것은 알고 있었지만, pixel 좌표계 기준으로 값을 받는 것은 몰랐음 4. [SerializeField] => public 을 통해 인스펙터에 노출할 수 있다는 것은 알고 있었지만, 이 애트리뷰트를 통해 private인 멤버를 인스펙터에 노출할 수 있다는 것을 처음 알게 되었다. 5.Vector3.Distance => 여태까지 거리는 그냥 Vector 끼리에 차..

File ->Build Settings ->Player Setting -> Resolution and Presentation -> Default Orientation https://scvtwo.tistory.com/159 [Unity] 유니티 안드로이드 화면 회전 & 고정(가로/세로모드) 안녕하세요 유니티 안드로이드 플랫폼에서 화면 회전을 설정하는 법에 대해 알아보도록 하겠습니다. 설정을 위해서는 플랫폼을 Android로 변경해야 합니다. Build Settings(Ctrl+Shift+B)에서 Platform을 And scvtwo.tistory.com 화면 종류 참고

CarCotroller using System.Collections; using System.Collections.Generic; using UnityEngine; public class CarController : MonoBehaviour { private float moveSpeed = 0.0f; float dampingCoefficient = 0.96f; //감쇠 계수 private Vector3 startPos; // down 했을 때 위치 private Vector3 endPos; //up 했을 때 위치 // Start is called before the first frame update public AudioClip[] audioClips; void Start() { } // Update i..

RouletteController using System.Collections; using System.Collections.Generic; using UnityEngine; public class RouletteController : MonoBehaviour { public float rotAngle = 0; public float dampingCoefficient = 0.96f; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { //왼쪽 버튼을 눌렀다면 if(Input.GetMouseButton(0)) { Debug.Log("왼쪽 버튼 클릭")..

Swipe Car CarController using System.Collections; using System.Collections.Generic; using UnityEngine; public class CarController : MonoBehaviour { private float moveSpeed = 0.0f; float dampingCoefficient = 0.96f; //감쇠 계수 private Vector3 startPos; // down 했을 때 위치 private Vector3 endPos; //up 했을 때 위치 // Start is called before the first frame update void Start() { } // Update is called once per fr..

고정 데이터 MissionData using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mission { public class MissionData { public int id; public string name; public int goal; public int item_id; public int item_amount; } } ItemData using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threadin..