0
(0)

Player가 계속해서 떨어지는 것을 막기 위해 아래와 같이 Ground 오브젝트를 새로 만들어 주겠습니다.

새로 만든 Ground 오브젝트를 선택하고 Inspector 창에서 ‘Add Component’ 버튼을 눌러 ‘Box Collider 2D’를 추가해 줍니다.

Scene 창을 보면 녹색 테두리의 Ground 오브젝트가 추가된 것을 확인하실 수 있습니다.

게임을 플레이해보면 Player가 Ground와 충돌해 더 이상 아래로 떨어지지 않는 것을 보실 수 있습니다.

전자책 구매 / home

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

GameInfo
Author: GameInfo

GameInfo


GameInfo

GameInfo

0개의 댓글

답글 남기기

아바타 플레이스홀더