Furnitures are added as game object into the scene (instead of being drawn into a tilemap). That way we can differentiate each furniture easily and sort/hide/show elements depending on the player choices and position
It uses the coord of the Floor/Wall Tilemap.
Furnitures sheet are sorted by Type for each class, and fits 32x32 tiles.
These 32x32 tiles are used to create an index, then we slice each tile in 8X8 tiles, to determine the properties of each part
There are 3 different type of tile for each furniture
Non-Collidable Tile : Doesn’t block the player and is used to determine the pivot point of an object (the point where player start to appear behind)
Collidable Tile : Block the player and prevent any object to be placed at that location.
Surface Tile : Act as a collidable tile but also allow Mini Props to be placed on it.
Furnitures have various caracteristics depending on their class
These props only have colliders and nothing can be placed on it.
Examples : Decoration, Plants, Statue, Bed, Pots ..