I have created an entity which is supposed to be above the ground, so I'd like to allow other entities to be placed in it's spot (visually "below" it, but internally at the same x/y position) and vice versa. Is there a way to do this?
I thought, setting the collision box to {{0, 0}, {0, 0}} should be enough, but apparently it is not.
How can I allow entities to be placed on top of my entity?
-
JAetherwing
- Inserter

- Posts: 34
- Joined: Sat Dec 29, 2018 2:51 pm
- Contact:
Re: How can I allow entities to be placed on top of my entity?
Code: Select all
entity.collision_mask = {}-
JAetherwing
- Inserter

- Posts: 34
- Joined: Sat Dec 29, 2018 2:51 pm
- Contact:
Re: How can I allow entities to be placed on top of my entity?
Thank you, that helped me a lot!
