📜  roblox 中的 CanCollide 是什么? - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.952000             🧑  作者: Mango

代码示例1
-- CanCollide is command a that will be able to make a Part collide or not

-- To make an object not fall off a part 
script.Parent.CanCollide = true

-- To make an object fall off a part
script.Parent.CanCollide = false