https://benwelshscript.wordpress.com/2015/07/21/how-to-create-spherical-gravity-in-unity/
How to create spherical gravity in Unity
In my previous blog posts, I talked about a project I was working on, a Katamari Damacy clone, called Clump Soul. What I chose to do was use a sphere for the play area instead of a plane, or the bu…
benwelshscript.wordpress.com
구글링 해보고 유용한 글은 위에 링크를 두었다.
개념 상으로는 아래 gif와 같다.
그런데 FixedUpdate() 함수를 계속 호출하는 방법은 성능 저하를 불러올 것이다.
시작부터 Update()를 마구 해야 된다면 프로젝트 마감할 때 쯤이면 패닉 상태가 올 것이다.
'SideProjects > AnimalCrossingClone' 카테고리의 다른 글
[동물의숲 모작] Capsule Collider 있는거 쓰자 (0) | 2024.03.24 |
---|---|
[동물의숲 모작] 6. Light 설정과 Hierarchy 정리 (0) | 2024.03.24 |
[동물의숲 모작] 5. Third Person Controller LITE 에셋 import (0) | 2024.03.24 |
[동물의숲 모작] 4. 에러 발생 : ambiguous reference (0) | 2024.03.24 |
[동물의숲 모작] 3. cylinder 타입의 맵 (0) | 2024.03.23 |