-
What do you want to achieve?
i want my spells to collide with each other -
What is the issue?
I have a collision system for spells in my game and sometimes (it seems as though it does it randomly) the collision just doesn’t happen and i get this “error”. Clicking on it to see where it leads me does nothing. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried:
- changing the debounce to a higher value
- looking at the DevHub (no one seems to have ever referenced this)
Here’s the code that handles collisions (there is one in both spells)
local disabled = false
body.Touched:Connect(function(Hit)
if disabled == false and Hit:GetAttribute("isspell") == true then
disabled = true
interactionfunction.MetalInteraction(Hit,body)
wait(0.5)
disabled = false
end
end)
it gives me this in the output (At what it seems to be random):
-- Dropping received physics update, part 0_1818844 is not in the workspace
also just to be clear the part is in the workspace