Page 1 of 1

[1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Posted: Wed Jan 26, 2022 9:12 pm
by XaLpHa89
In the screenshot you can see that the destroyed chests have not been removed. I'm of the opinion that this should actually be done with the remove_colliding_entities parameter?

LuaSurface.set_tiles
20220126033453_1.jpg
20220126033453_1.jpg (429.67 KiB) Viewed 1621 times

Re: [1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Posted: Thu Jan 27, 2022 9:15 am
by posila
Corpse/remnant have empty default collision mask, which means they don't collide with anything.

Re: [1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Posted: Thu Jan 27, 2022 9:11 pm
by XaLpHa89
posila wrote: Thu Jan 27, 2022 9:15 am Corpse/remnant have empty default collision mask, which means they don't collide with anything.
That's what I thought, so that the set_tiles function is all-encompassing, I would like a new parameter that can also be used to exchange non-colliding objects. Does it make sense?