Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 31 Jul 2013 05:05 PM |
--I want all of the mesh bricks' cancollide to be false. Help?
local player = game.Players function nocollide(meshes) for _,v in pairs(meshes:GetChildren()) do if v:IsA("Mesh") or v:IsA("SpecialMesh") or v:IsA("CylinderMesh") and v.Parent = ("BasePart") then v.CanCollide = false end nocollide(v) end end nocollide(game.Workspace)
|
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 05:06 PM |
| Parts have CanCollide, not Meshes. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 05:07 PM |
| Meshes are useless graphics objects that change how a brick looks. And This would require mesh-on-mesh collisions witch have'nt been created yet. |
|
|
| Report Abuse |
|
|
Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 31 Jul 2013 05:09 PM |
| Ok umm, obviously no one understands my point, I meant bricks that have meshes inside of them. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 05:13 PM |
| Youd have to make invisible bricks: CanCollide is not a vaild member of mesh. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 05:15 PM |
'Meshes are useless graphics objects'
They are not at all useless. Although they would be A LOT more useful if we could make our own. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 05:36 PM |
You could possibly surround the mesh with invisible walls but if it isn't supposed to be anchored....
I cannot help you. You can't do can - collide on the mesh
|
|
|
| Report Abuse |
|
|
Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 31 Jul 2013 05:52 PM |
| Hmm, it seems still nobody understands let me rephrase this. ALL BRICKS that have a MESH inside of them should be false with CanCollide. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2013 06:20 PM |
| By Useless i meant they do nothing,not you cant do anything with them. |
|
|
| Report Abuse |
|
|
Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 31 Jul 2013 06:27 PM |
Ok, obviously no one can help.
█▀▀ █▀▀█ █▀▀█ █░░█ █▀▄▀█ █▀▀ █░░█ █▄▄▀ █░░█ █░▀░█ ▀░░ ▀▀▀▀ ▀░▀▀ ░▀▀▀ ▀░░░▀
█▀▀ █░░ █▀▀█ █▀▀ █▀▀ █▀▀▄ █░░ █░░ █░░█ ▀▀█ █▀▀ █░░█ ▀▀▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀░ |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 31 Jul 2013 06:32 PM |
function noncollide(model) for i,v in ipairs(model:GetChildren()) do if v:IsA("Part") then for _,mesh in ipairs(v:GetChildren()) if mesh:IsA("Mesh") then v.CanCollide = true end end end else noncollide(v) end end
|
|
|
| Report Abuse |
|
|
|
| 04 Aug 2013 02:23 PM |
| Imma *Bump* This for no reason. :P |
|
|
| Report Abuse |
|
|