Model
Model : PVInstance
Overview
Model์ ์ฌ๋ฌ ๊ฐ์ฒด๋ฅผ ํ๋์ ๊ทธ๋ฃน์ผ๋ก ๋ฌถ์ด ๊ด๋ฆฌํ๋ ์ปจํ ์ด๋๋ก, ์ฃผ๋ก BasePart ๋ชจ์์ ๋ค๋ฃจ๋ ๋ฐ ์ฌ์ฉ๋ฉ๋๋ค.
์์น๋ ๊ตฌ์กฐ์ ์ผ๋ก ์ฐ๊ด๋ ํํธ๋ฅผ ํจ๊ป ๋ด๋ ๋ฐ ์ ํฉํ๋ฉฐ, ๋จ์ํ ์คํฌ๋ฆฝํธ์ฒ๋ผ ๋ฌผ๋ฆฌ์ ํํ๊ฐ ์๋ ์์๋ฅผ ๋ฌถ์ ๊ฒฝ์ฐ์๋ Folder๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ๋ ์๋ง์ต๋๋ค.
์ฌ๋ฌ ์ค๋ธ์ ํธ๋ฅผ ํ๋๋ก ๋ฌถ์ด ๋ฌผ๋ฆฌ ํจ๊ณผ๋ฅผ ํจ๊ป ์ ์ฉํ๊ฑฐ๋, ๋์์ ์ด๋ยทํ์ ยท์ญ์ ๋ฑ์ ์์ ์ ์ํํ ์ ์๋๋ก ์ง์ํฉ๋๋ค. ์ด๋ฅผ ํตํด ๊ฐ๋ณ ์ค๋ธ์ ํธ๋ฅผ ์ผ์ผ์ด ์ ์ดํ์ง ์๊ณ ๋ ํ๋์ ๋จ์์ฒ๋ผ ๋ค๋ฃฐ ์ ์์ต๋๋ค.
Properties
PrimaryPart
BasePart
๋ชจ๋ธ์์ ๊ธฐ์ค ์ญํ ์ ํ๋ BasePart๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
PrimaryPart๋ก ์ง์ ํ ์ ์๋ ๋์์ ๋ฐ๋์ ํด๋น ๋ชจ๋ธ์ ํ์ BasePart์ฌ์ผ ํฉ๋๋ค. ํ์ ํํธ๊ฐ ์๋ BasePart๋ ์ง์ ํ ์ ์์ต๋๋ค.
Character Model์ ๊ฒฝ์ฐ PrimaryPart๋ HumanoidRootPart์ ๋๋ค.
Code Samples
local Model = script.Parent
Model.PrimaryPart = Model.Part
WorldPivot
CFrame
ํ์ฌ ์ง์๋์ง ์์ต๋๋ค.
Code Samples
Methods
BreakJoints
ํ์ฌ ์ง์๋์ง ์์ต๋๋ค.
Parameters
Return
void
Code Samples
MoveTo
ํ์ฌ ์ง์๋์ง ์์ต๋๋ค.
Parameters
Vector3
InPosition
Return
void
Code Samples
SetPrimaryPartCFrame
ํ์ฌ ์ง์๋์ง ์์ต๋๋ค.
Parameters
CFrame
InNewCFrame
Return
void
Code Samples
Events
Last updated