Parameters
Returns
string - The collision data string.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getpcd(instance: Instance, property: string): string
| Parameter | Type | Description |
|---|---|---|
instance | Instance | The target Instance. |
property | string | The collision property name. |
string - The collision data string.
local collData = getpcd(workspace.UnionPart, "PhysicsData")
print(#collData)
local meshData = getpcd(meshPart, "CollisionData")