Hello fellow scripters,
I have a small question.
Why do EditableMeshes not update after removing a triangle?
I remove a triangle but it doesnt rerender the mesh.
Hello fellow scripters,
I have a small question.
Why do EditableMeshes not update after removing a triangle?
I remove a triangle but it doesnt rerender the mesh.
while task.wait() do
task.wait(1)
print('Added')
local triangle = MeshSystem:addTriangle(Vector3.new(1, 0, 0), Vector3.new(0, 1, 0), Vector3.new(0, 0, 1))
task.wait(1)
print('Removed')
MeshSystem:removeAllTriangle()
task.wait(1)
end
mesh system is a custom module that is just a wrapper for the functions
Could you please show us MeshSystem:removeAllTriangle()
? I assume it is supposed to walk through a table of triangle ids and call EditableMesh:RemoveTriangle(id)
for each of them.
I already found a fix, Thanks for helping tho