Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A_Planet Scene and Asset description #4

Open
5 tasks
Min100KM opened this issue May 12, 2023 · 0 comments
Open
5 tasks

A_Planet Scene and Asset description #4

Min100KM opened this issue May 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Min100KM
Copy link
Contributor

Related Problem

  • Sphere planet 의 Light, Skymap 문제 => 구체 하늘 직접 만드는 방식으로 해보기
  • Sphere planet이라 Light에 따른 안보이는 구역 생김, 적절하게 빛 구현

  • Oculus 용 우주인 손 Asset 찾기

  • 상호작용 가능한 곡괭이, 우주선 Asset 찾기

  • Unity 프로젝트 안정적으로 공유하는 방법 찾기

Describe Feature

사용한 에셋

Scene & Components 설명

1. Hierarchy

2. A_Planet

  • Material : Sample/Polybrush/1.1.4/Shader Examples/Shader/Planet_A2 Material 사용
  • Texture Image : Mountains Canyons Cliffs Asset 에서 캡쳐해서 만든 png 파일
  • Collider : Sphere Collider, Mesh Collider
  • Tag : Planet
  • Layer : Ground

3. Mountain

  • Prefab : Mountains Canyons Cliffs Asset (``InfinitiaStudio-Mountains/Prefabs/Obj')
  • Collider : Mesh Collider
  • Layer : Ground
  1. Rocks
  • Prefab : Mars Landscape 3D
  • Collider : Mesh Collider
  • Layer : Ground
  1. Tornado
  • Prefab : EzTornado
  1. Skybox :
  • Skybox_SBS Sci-Fi & Fantasy 5 Small
  • MainCamera 에 Skybox Component 추가해서 생성

C# Script 설명

  1. 'GravityAttractor'
    중력 부여하고자 하는 물체에 Components 추가
  1. 'GravityBody'
    중력을 받는 물체에 Components 추가
    GravityAttractor 로 Planet 태그가 있는 Component를 인식, A_Planet tag를 Planet으로 해야함

  2. 'FirstPersonController'
    이동하는 물체에 Components 추가,

이동 물체 하위에 Camera 있어야 함(카메라로 시작 transform 설정됨)

Rigidbody Component 있어야 함.

위에서 이동하고 싶은 환경(Planet, Mountain 등) Ground 또는 collision layer 있어야함

Grounded mask 에서 위에서 움직일 수 있는 layer선택 가능, 다중 선택 가능

Additional context

현재 Scene

@Min100KM Min100KM added the enhancement New feature or request label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant