StarfallEx icon indicating copy to clipboard operation
StarfallEx copied to clipboard

Entity:addCollisionListener(func) doesn't work on chip()

Open Manonox opened this issue 2 years ago • 1 comments

The title says it all

local p = prop.create(chip():getPos() + Vector(0, 0, 20), Angle(), chip():getModel())
p:addCollisionListener(function()
    print("boop1")
end)

chip():addCollisionListener(function()
    print("boop2") -- Nothing :(
end)

Manonox avatar Apr 09 '23 20:04 Manonox

Might need ent:EnableCustomCollisions(true) for SENTs

thegrb93 avatar Apr 11 '23 18:04 thegrb93