K-CodeCraft / ACTProject

0 stars 0 forks source link

[Character] HitBox #43

Open Padak-Kim opened 4 days ago

Padak-Kim commented 4 days ago

๐ŸŒฑ ๋งŒ๋“ค๊ณ ์ž ํ•˜๋Š” ๊ธฐ๋Šฅ

Monster Attack

๐ŸŒฑ ๊ตฌํ˜„ ๋‚ด์šฉ

Padak-Kim commented 1 day ago

ํžˆํŠธ๋ฐ•์Šค ์•„์ด๋””์–ด

  1. ๋””๋ฒ„๊ทธ ์˜ค๋ธŒ์ ํŠธ ๋งŒ๋“ ๊ฑฐ์ฒ˜๋Ÿผ ๊ฒŒ์ž„์˜ค๋ธŒ์ ํŠธ ๋งŒ๋“ค๊ณ  ํ”Œ๋ ˆ์ด์–ด ๋”ฐ๋ผ๋‹ค๋‹ˆ๋„๋ก ํ•œ๋‹ค์Œ ์œ„์น˜๋Š” ํ”Œ๋ ˆ์ด์–ด ์•ž์ชฝ & AABB ๋ฐ•์Šค์ฝœ๋ผ์ด๋” ๋‹ฌ๊ธฐ
  2. ํ”Œ๋ ˆ์ด์–ด ๊ณต๊ฒฉ ๋‚˜์˜ค๋ฉด ํ™œ์„ฑํ™”ํ•˜๊ฒŒ ๋ฐ”๊พธ๊ธฐ
  3. ํ™œ์„ฑํ™” ๋œ AABB ์ฝœ๋ผ์ด๋”์— Intersects ๋“ค์–ด์˜ค๋ฉด ์–ด๋–ค ๊ฒŒ์ž„์˜ค๋ธŒ์ ํŠธ์ธ์ง€ ์•Œ์•„๋‚ด๊ธฐ
  4. ์•Œ์•„๋ƒˆ์œผ๋ฉด ๋งž๋Š” ์• ๋‹ˆ๋ฉ”์ด์…˜ ์žฌ์ƒํ•˜๊ธฐ
Padak-Kim commented 22 hours ago

์•„์ด๋””์–ด 2

  1. ์ฝœ๋ผ์ด๋”์— ํŠธ๋ฆฌ๊ฑฐ ๊ธฐ๋Šฅ๋งŒ๋“ค๊ธฐ (์ถฉ๋Œ์ด ์•„๋‹Œ ์ถฉ๋Œ ์ด๋ฒคํŠธ๋งŒ ๊ฐ์ง€ํ•˜๋„๋ก ์„ค์ •)