Unreal Framework

Unreal vs. Unity

์นดํ…Œ์ฝ”๋ฆฌ ์œ ๋‹ˆํ‹ฐ ์–ธ๋ฆฌ์–ผ
๊ฒŒ์ž„ ์˜ค๋ธŒ์ ํŠธ Component
Game Object
Prefab
Component
Actor/Pawn
Blueprint class
๋ฉ”์‹œ Mesh
Skinned Mesh
Static Mesh
Skeletal Mesh
๋จธํ…Œ๋ฆฌ์–ผ Shader
Material
Material/Material Editor
Material Instance
์ดํŽ™ํŠธ Particel Effect
Shuriken
Effect/Particle/Cascade
Cascade
UI UI UMG()
์–ธ์–ด C# C++
๋ฌผ๋ฆฌ Raycast
Rigid Body
Line Tracing/Shape Trace
Collision/Physics

Unity Component System

post_thumbnail

  • Unity์—์„œ์˜ GameObject๋Š” Component์˜ ์ง‘ํ•ฉ์ด๋‹ค
  • Empty GameObject๊ฐ€ Transform Component๋ฅผ ๊ฐ€์ง„ ์ฑ„๋กœ ์กด์žฌํ•˜๋ฉฐ, ์‚ฌ์šฉ์ž๋Š” ์—ฌ๊ธฐ์— Component๋ฅผ ์ถ”๊ฐ€ ๋ฐ ์ œ๊ฑฐํ•˜๋ฉฐ ์ง์ ‘ ๋””์ž์ธํ•  ์ˆ˜ ์žˆ๋‹ค
  • ์‚ฌ์šฉ์ž ์ •์˜์˜ ์ฝ”๋“œ๋Š” Monobehavior์—์„œ ์ƒ์†ํ•˜์—ฌ ์ปค์Šคํ…€ Component๋กœ์„œ GameObject์— ์ถ”๊ฐ€๋œ๋‹ค

Unreal Component System

post_thumbnail

  • Unreal์€ Actor ํด๋ž˜์Šค๋ฅผ ๋ฒ ์ด์Šค๋กœ ์ƒ์†์„ ๊ฑฐ์น˜๋ฉฐ ์‚ฌ์šฉ์ž์˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ์‹์œผ๋กœ ๋””์ž์ธํ•œ๋‹ค
  • Actor ํด๋ž˜์Šค์—์„œ ์ƒ์†๋œ ์ปค์Šคํ…€ GameObject ํด๋ž˜์Šค์— ํ•„์š”ํ•œ Component๋“ค์ด ๋ฉค๋ฒ„ ๋ณ€์ˆ˜๋กœ์„œ ์ •์˜๋œ๋‹ค
  • Actor ํด๋ž˜์Šค๋Š” Unity์˜ Transform๊ณผ ์œ ์‚ฌํ•œ SceneComponent๋ฅผ ๊ธฐ๋ณธ์ ์œผ๋กœ ๊ฐ€์ง„๋‹ค
    • SceneComponent๋Š” RootComponent๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ์ •์˜๋˜์–ด ์žˆ๋‹ค
  • ์ ‘๋‘์‚ฌ A๋ฅผ ๊ฐ€์ง„ ํด๋ž˜์Šค๋Š” ์›”๋“œ์— ์Šคํฐํ•  ์ˆ˜ ์žˆ๋‹ค
  • ์ ‘๋‘์‚ฌ U๋ฅผ ๊ฐ€์ง„ ํด๋ž˜์Šค๋Š” ์Šคํฐํ•  ์ˆ˜ ์—†๋Š” ์ปดํฌ๋„ŒํŠธ๋กœ์„œ Actor์— ํฌํ•จ๋˜์–ด์•ผ ํ•œ๋‹ค

์ฃผ์š” ํด๋ž˜์Šค

Actor

  • Actor๋ž€ ์–ธ๋ฆฌ์—˜ ์—”์ง„์˜ ๋ ˆ๋ฒจ์—์„œ ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒŒ์ž„ ์˜ค๋ธŒ์ ํŠธ
  • ๋ ˆ๋ฒจ์— ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ์˜ค๋ธŒ์ ํŠธ
  • AActor
    • Actor
  • Component๋ฅผ ์ถ”๊ฐ€ํ•ด ์•กํ„ฐ๋ฅผ ๋””์ž์ธํ•  ์ˆ˜ ์žˆ๋‹ค

Pawn

  • ํ”Œ๋ ˆ์ด์–ด ํ˜น์€ A.I.์— ์˜ํ•ด ์ œ์–ด๋˜๋Š” ์•กํ„ฐ
  • Pawn์„ ์ƒ์„ฑํ•˜๋ฉด APawn ํด๋ž˜์Šค๋กœ๋ถ€ํ„ฐ ์ƒ์†๋˜๊ณ , APawn์€ Actor์˜ Base Class์ธ AActor๋กœ๋ถ€ํ„ฐ ์ƒ์†๋œ๋‹ค.
    • AActor
      • Actor
      • APawn
        • Pawn
  • ์ปจํŠธ๋กค๋Ÿฌ๊ฐ€ ๋ถ™์€ ์•กํ„ฐ

Chatacter

  • ํ”Œ๋ ˆ์ด์–ด ์ปจํŠธ๋กค์— ์˜ํ•ด ์ œ์–ด๋˜๋Š” Pawn
  • ์Šค์ผˆ๋ ˆํƒˆ ๋ฉ”์‹œ๋ฅผ ํฌํ•จํ•œ ํœด๋จธ๋…ธ์ด๋“œ ํ˜•, ์บก์Š ์ฝœ๋ฆฌ์ „, CharacterMovementComponennt ๋“ฑ์„ ํฌํ•จ
  • AActor
    • Actor
    • APawn
      • Pawn
      • Character
  • ์• ๋‹ˆ๋ฉ”์ด์…˜(์ผ๋ฐ˜์ ์œผ๋กœ Skeletal Mesh)์ด ๋ถ™์€ Pawn

Controller

  • Player Controller
    • ํ”Œ๋ ˆ์ด์–ด์˜ ์ž…๋ ฅ๊ฐ’์„ Pawn์œผ๋กœ ์ „๋‹ฌ
  • AI Controller
  • ์บ๋ฆญํ„ฐ์˜ Movement๋ฅผ Wrappingํ•ด์„œ ์ปจํŠธ๋กคํ•˜๊ธฐ ์‰ฝ๋„๋ก ํ•ด์ฃผ๋Š” ์ปดํฌ๋„ŒํŠธ
  • Controller ์ปดํฌ๋„ŒํŠธ๊ฐ€ ๋ถ™์„ ์ˆ˜ ์žˆ์œผ๋ฉด Pawn์ด๋‹ค

Game Mode

  • ๊ฒŒ์ž„์˜ ๊ทœ์น™๋“ค์„ ์ •์˜
  • ๊ฒŒ์ž„ ์ „๋ฐ˜์— ๊ฑธ์นœ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅ

์ถœ์ฒ˜

Categories: ,

Updated: