이지인_JohnLemon 과제 제출 #18
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#과제 하면서 느낀 점
처음 써보는 유니티와 c#이라 처음에는 익숙하지 않았는데,
튜토리얼을 따라하면서, 반복적인 과정들이 많았다보니까, 익숙해지는 느낌이여서 좋았다.
오히려 직접 튜토리얼을 따라서 해보니까, 이해가 빨라지는 느낌이였고,
존레몬말고 다른 튜토리얼도 혼자 해봐야겠다고 생각했다.
#과제하면서 어려웠던/고민했던 부분
-game view를 설정할 때, Low Resolution Aspect Ratios 체크박스를 해제하라고 튜토리얼에 나와있었는데, 해제가 불가능했다. 튜토리얼에 체크박스를 해제할 수 없더라도, 완성된 게임에는 영향을 미치지 않고 모니터에 맞도록 자동으로 설정된다고 나와있어서 그냥 해제하지 않은 상태로 진행했으, 왜 나는 체크박스 해제가 안되는건지 궁금했다.
-PlayerMovement 스크립트를 짤 때,
Vector3 desiredForward = Vector3.RotateTowards(transform.forward,m_movement,turnSpeed*Time.deltaTime,0f);로
왜이렇게 복잡하게 회전시키지??? 궁금했는데,
타켓을 향하여 회전할 때(이 위치를 바라보게하고 싶을 때),
부자연스럽게 한번에 확 하고 회전하는 것이 아니라,
RotateTowards를 쓰는 것은 자연스럽게 실제움직임처럼 천천히 타겟을 향해 회전할 수 있도록 사용한 것이라는 것을 보고 납득하였다.
또한, 게임에서 물체를 움직이는데 고등학교에서 봤었던 것 같은?? 물리스러운것들??이 사용되는게 뭔가 재밌고?? 신기하기도 했다.
-RigidBody를 적용하여서, 분명 튜토리얼에 언급된대로 플레이를 해보면, 캐릭터가 조금 아래로 내려가고 멈췄어야 했는데, 중력을 적용하였는데 존레몬이 하늘 위로 올라갔다.
그런데 다행히 Rigidbody Constraints를 통해서, Y축에서의 이동을 제한하여서, 존이 하늘로 올라가는 것을 막을 수 있었다.
#개발 그룹 운영진에게 이야기하고 싶은 부분
감사합니다!
JohnLemon-Tutorial.-.MainScene.-.PC.Mac.Linux.Standalone.-.Unity.2020.3.23f1.Personal._DX11_.2022-03-28.16-44-47.mp4