Parts 是 BasePart 類的後代,具有位置、大小、方向和顏色等屬性。您可以使用基本方塊作為是,或者您可以應用 固體建造操作 操作將方塊組合成更複雜的形式。
對於進階和復雜的 3D 模型,您也可以將第三方模型文件匯入為 MeshParts 作為 Meshes 的說明。



預設情況下,零件是由真實世界的物理學機制(例如重力、衝突和動量)所遵循的剛體。您可以使用 Class.WeldConstraint 或 Class.Motor6D 或 Class.Bone 來連接相
您可以使用 Model 容器來團結相關零件,並在 Explorer 中作為單一組合來存取群組。請參閱 模型 了解更多資訊。
基本零件類型





零件屬性
每個零件都有各種可以通過 屬性 窗口自訂的屬性。

以下是常常使用的屬性:
Anchored 控制如果物理學效果了零件的位置。當此屬性設為真時,零件永遠不會因重力或任何其他力而改變位置。您應該將大多數零件錨定在您的體驗或重力,否則體驗將對您的零件產生影響。
CanCollide 控制是否可以將零件與其他零件碰撞。當此屬性設為真時,零件是不可入侵的,而且物理引擎會在您的體驗中計算此項目。相反,當此屬性設為假時,零件可以穿過任何東西,而且物理引擎不會 不 作出計算。
Transparency 設定零件的可視性在 0 (全面可見) 與 1 (全面透明) 之間的任何值。如果您有很多部分透明的零件,它們可能會降低性履約。為了解決此問題,您可以使用 固體模型 來合併它們。
插入零件
零件按鈕將新零件插入工作區。單擊按鈕上的小下拉箭頭讓您選擇 方塊 、 球體 、1>楔子1>、4>角楔子4>或7>圓柱體7>。

選擇零件
當您在視角中移動零件時,它們會在下列順序呈現,以顯示其潛在選擇。您可以單擊它們來選擇一個零件,或者您可以在按住 Shift , Ctrl 或 ⌘ 來選擇多個零件。在 1>這裡1> 查看 3D 視角中零件的高級

變形零件
您可以使用建模工具或設置新位置、大小或方向在 屬性 窗口中移動工具動、比例放和旋轉選取的零件。
使用工具時,您可以在 世界 或 本地 導向中移移動工具、縮比例或旋轉零件,按 Ctrl0>L0> 在Windows 上啟用時,箭頭軸指標將變更為零件的本地導向,並且會顯示一個

移動
您可以使用 移動 工具 (預設快捷方式 2) 或 鼠標拖曳 來將選取的零件移動到新位置。當移動零件時,您可以暫時切換 1>捕捉1> 來使用 4>滑鼠4> 。

要將零件沿 X 、 Y 或 Z 軸移動,請單擊/拖曳一個箭頭指向所需的移動方向。

拖曳後,數量 距離指示器 會保持可見。如果所需,請調整指示器內移動的距離並輸入任何數字。

如果拖曳零件的 中心點 ,而 移動 工具選擇,零件的中心點將會隨著零件的邊緣和邊緣而 "軟囊" 在零件的表面和邊緣上。

縮放
要將選取的零件沿 X 、 Y 或 Z 軸調整大小放,使用 1> 縮放工具 (預設快捷方式 4> 3 4> ) 並單擊/拖曳手手把。在拖曳時,您可以暫時切換 7> 貼合


旋轉
要在 X , Y 或 Z 軸上旋轉選取的零件,請使用 1> 旋轉 1> 工具 (預設快捷方式 4> 4 4>) 並單擊/拖曳旋轉環。在拖曳時,您可以暫時切換 7> �����


零件色彩
雖然零件預設為灰色,您可以通過以下方法變更它為任何顏色。
六邊形地圖
點擊 顏色 小下拉箭頭會顯示六邊形的顏色選擇器。

預設情況下,單擊整個 顏色 按鈕會將選擇的顏色應用於任何 選取 零件。如果您寧願使用填充/塗裝工作流程,請切換 顏色行動作作為工具 並然後在 3D 視窗中按下零件來應用選擇的顏色。

顏色對話框
顏色 選擇框可讓您設定顏色通過您的操作系統的顏色選擇器 widget。若要存取,請前往 屬性 窗口,然後單擊左邊的小框,上方的 Color 屬性。

RGB 值
要為零件定義特定的 RGB 顏色值,請在 Color 屬性值輸入 RGB 值。

應用材料
與 顏色 相似,您可以自訂零件的 材料 來模擬真實世界的材料,例如木材、玻璃或繊維。選擇材料時,請考慮以追蹤中內容:
材料會影響零件的物理特性,不僅僅是外觀 。例如, 混凝土 材料比 塑膠 材料重,因此混凝土磚的密度會比塑膠磚高,因此在水中沉沒更快。
有些材料有特殊的物理效果。例如,如果將某個零件設置為 霓虹 材料,它們會發光。
平滑塑膠 螢光
有關如何應用預設和自訂材料到零件的更多資訊,請參閱 材料。