1. void Start() {
  2. meshRope = GetComponent<MeshFilter>().mesh;
  3. meshRope.GetVertices(vert);
  4. meshRope.GetVertices(normals);
  5. tempVetcicesOffset.Sort(new CompareVector(1));
  6. for (int i = 0; i < meshRope.vertices.Length * 0.5f; i++)
  7. {
  8. vert[i] += new Vector3(0f, -0.1f, 0f);
  9. }
  10. meshRope.vertices = vert.ToArray();
  11. meshRope.RecalculateBounds();
  12. meshRope.RecalculateNormals();
  13. }
์ฝ”๋“œ๋Š” ์ด๋ ‡๊ฒŒ ์งฐ๊ณ , ๋ฒ„ํ…์Šค ๊ตฌํ•œ๋‹ค์Œ์— y๊ฐ’ ์œ„์น˜๋กœ ์ •๋ ฌํ•ด์„œ ๋‚ฎ์€ ์œ„์น˜์˜ ์ ˆ๋ฐ˜ ๋ฒ„ํ…์Šค๋งŒ ์žก์•„๋‹ค๊ฐ€ ์œ„์น˜๋ฅผ ๋ฐ”๊พธ๋ฉด


viewimage.php?id=2abcdd23dad63db0&no=29bcc427bd8677a16fb3dab004c86b6fad513288d8b02352345821b430ef7a6ac69245e67e516897eb1e194dd04142b2d6ac0e604b3075ecef7a


๋งฅ์Šค์—์„œ ๋ฒ„ํ…์Šค ์žก๊ณ  ์œ„์น˜๋ฐ”๊พธ๋Š”๊ฑฐ์ฒ˜๋Ÿผ ์ด๋ ‡๊ฒŒ ๋ณด์ผ์ค„ ์•Œ์•˜๊ฑฐ๋“ .



viewimage.php?id=2abcdd23dad63db0&no=29bcc427bd8677a16fb3dab004c86b6fad513288d8b02352345821b430ef7a6ac69245e67e516897eb1e194dd0411bbd60c192673480c0cb5ef2


๊ทผ๋ฐ ์ด๋ ‡๊ฒŒ ๋˜๋”๋ผ. ๋ณด๋‹ˆ๊นŒ ๋ฒ„ํ…์Šค ๊ฐœ์ˆ˜๋ž‘ (๋งฅ์Šค ๋ชจ๋ธ์€ 8๊ฐํ˜• ๊ธฐ๋‘ฅ์ด๋ผ ๋ฒ„ํ…์Šค๊ฐ€ 8*2 = 16๊ฐœ์ธ๋ฐ) 34๊ฐœ๋กœ ๋งž์ง€๋„ ์•Š๊ณ , ์˜คํ”„์…‹๋„ ๋ฒ„ํ…์Šค๊ฐ€ ๊ฒน์น˜๋Š” ์œ„์น˜๊ฐ€ ์žˆ๋Š” ๋“ฑ ํ˜ผ๋ž€์Šค๋Ÿฝ๋”๋ผ๊ณ 



viewimage.php?id=2abcdd23dad63db0&no=29bcc427bd8677a16fb3dab004c86b6fad513288d8b02352345821b430ef7a6ac69245e67e516897eb1e194dd0414cb24a75d39d5fd2f3811a48


๋กœํ”„๋Š” ์œ ๋‹ˆํ‹ฐ ์กฐ์ธํŠธ ์ปดํฌ๋„ŒํŠธ๋กœ ์™„์„ฑํ•จ


๋ผ์ธ ๋ Œ๋”๋Ÿฌ๋Š” ํ•ด๋ดค๋Š”๋ฐ ๊ตฌ๋ ค์„œ ๋ชจ๋ธ๋กœ ํ•ด๋ณด๋ ค๋Š”๋ฐ ๊ฐ์ด ์•ˆ์žกํžŒ๋‹ค..


์ € ์บก์А ๋๋ถ€๋ถ„๋ผ๋ฆฌ ๋กœํ”„ ๋ฉ”์‰ฌ๋ฅผ ์ด์–ด๋ฒ„๋ ค์„œ ๋กœํ”„์ฒ˜๋Ÿผ ๋ณด์ด๊ฒŒ ํ•˜๊ณ ์‹ถ์€๋ฐ ์•„๋Š”์‚ฌ๋žŒ ์—†์Œ?