viewimage.php?id=2abcdd23dad63db0&no=24b0d769e1d32ca73ce880fa1bd62531b1ff05ae57c74e7d1bb347396ebc24a79a039c2468bcd4709ae60864b1cf0d79ecb024e6d9f9fdf79bc2bb0c8069b82c



https://learn.unity.com/course/2d-beginner-game-sprite-flight/tutorial/make-a-flying-obstacle-prefab?version=6.0

์–ด์ œ Unity ์„ค์น˜ํ•˜๊ณ  ์˜ค๋Š˜๋ถ€ํ„ฐ ์—ฌ๊ธฐ์—์„œ ์•Œ๋ ค์ฃผ๋Š”๋Œ€๋กœ ๋”ฐ๋ผํ•˜๋Š” ์ค‘์ž…๋‹ˆ๋‹ค.

ย 

Hexagon Flat Top Spirite๋ฅผ ๋งŒ๋“ค๊ณ  ๊ฑฐ๊ธฐ์— Physics Material 2D๋ฅผ ๋ถ™์˜€์Šต๋‹ˆ๋‹ค.

Bounciness๋ฅผ 1.5๋กœ ๋‘์—ˆ๋”๋‹ˆ ๋ช‡๋ฒˆ ํŠ•๊ธฐ๊ณ  ๋‚˜์„œ ๊ฐ€์†์ด ๋ถ™๋”๋‹ˆ ๊ณต์ด ์‚ฌ๋ผ์ง€๋”๋ผ๊ตฌ์š”

์ด์œ ๋ฅผ ํ˜น์‹œ ์•„์‹œ๋Š” ๋ถ„ ๊ณ„์‹œ๋‚˜์š”

Make a flying obstacle prefab - Unity Learn

In this tutorial, youโ€™ll add physics to your obstacle so it falls, bounces, and interacts with the screen borders. Then, youโ€™ll turn it into a prefab โ€” a reusable template that lets you quickly create more obstacles later.

learn.unity.com


์—