Well i am coding my items and i have seen both and collision i though speaks for itself being the place where the items is so that they wont walk trough but found out that many items have quite odd collision boxes.
Can someone tell me what the destination does as wel as the collision?
Thanks in advance!
Destination is where they will step to interact with the item
2 Likes
Does every item need a destination?
No, when there is no destination, the game just assumes it is the same as the collision.
1 Like
I have an item with a clearly defined destination - you can see it is working when I use the bounding boxes view or select the entity with debug tools - but still they are able to interact with it from all directions/outside of the destination box
Any clue of what could possibly cause that or if destination isn’t currently working?
I’d go search in the items code, compare it to something simple like a crafting station. Usualy this stuff is hidden in quite small issues.
I actually found it yesterday, it was my own boo-boo haha
The collision shape is slightly irregular and turns out hearthlings couldn’t occupy the destination properly, so they just interacted from anywhere
Thanks for the help tho
1 Like