Does anyone know why I cannot find the mesh parts that are touching a part with can-collide off?
I tried using ray casting and get touching parts already.
Does anyone know why I cannot find the mesh parts that are touching a part with can-collide off?
I tried using ray casting and get touching parts already.
Is the property CanTouch and CanQuery off?
Use the custom module zone plus:
ZonePlus v3.2.0 | Construct dynamic zones and effectively determine players and parts within their boundaries - Resources / Community Resources - DevForum | Roblox
You could do something like this with Zone Plus:
-- This constructs a zone based upon a group of parts in Workspace and listens for when a player enters and exits this group
-- There are also the ``zone.localPlayerEntered`` and ``zone.localPlayerExited`` events for when you wish to listen to only the local player on the client
local Zone = require(game:GetService("ReplicatedStorage").Zone)
local container = workspace.AModelOfPartsRepresentingTheZone
local zone = Zone.new(container)
zone.playerEntered:Connect(function(player)
print(("%s entered the zone!"):format(player.Name))
end)
zone.playerExited:Connect(function(player)
print(("%s exited the zone!"):format(player.Name))
end)