Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J jyb-games
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • students
  • jyb-games
  • Wiki
  • 21.06.28

Last edited by seung ho yoo Jun 28, 2021
Page history

21.06.28

6월 28일

Stick_Game 만들기

Unity engine의 3d를 이용해서 상품을 미는 게임을 만들었다

  • Stick이라는 object만들기

    • object는 기본적으로 Transform(좌표),Rotation(회전),Scale(크기) 의 성질들을 가지고 있어서 변형 가능하다.
      image
  • Rigidbody(중력), collider(충돌) ,Material(그림, 색, 질감) 성질 넣어주기

    • why?
      collider component를 추가 했을때 막대와 object가 충돌 시 서로 통과하지 않고 물리적으로 부딪힘.
      image
      Rigidbody component를 추가 했을때 해당 object의 중력이 작용 >> 막대로 밀었을때 밑으로 떨어짐.
      image
      Material component는 object에 그림을 삽입하거나, 색을 넣어 주고, 질감을 표현 하는 기능들을 해준다.
      image
  • c# script로 코드를 형성한 후 Stick object에 넣어서 움직이기

    • why? 게임 안에서 object를 움직이기 위해서는 script를 이용해 좌표를 이동 시켜야 한다.

화면_캡처_2021-06-28_150738

Clone repository
  • 21.06.28
  • 21.06.30
  • 21.07.02
  • 21.07.05
  • 21.07.07
  • 21.07.09
  • 21.07.12
  • 21.07.14
  • 21.07.16
  • 21.07.19
  • 21.07.26 (1)
  • 21.07.26
  • 21.07.28 DH
  • 21.07.28 SJ
  • 21.07.28
View All Pages