SS3D
SS3D copied to clipboard
Airlock Floortiles
Summary
Integrate a special floor tile that sit beneath airlocks. The floor tiles have 2 sides and a texture on each. The textures should update based on the neighboring tile's texture.
Goal
Airlocks connect to floors on both front and back.
They need a special floor tile model with 2 materials. The airlock needs to check both tiles to the front and back for a floor tile, if there is a floor tile then check its material and apply the same on to the airlock's special floor tile on the appropriate side. If there is no floor tile on the adjacent tile the apply a transparent texture to represent no floor tile.
Due to the nature of wrapping textures, we likely need two special floor tile models, 1 for airlocks facing east or west and 1 for airlocks facing north or south. This will prevent certain directional textures like wood floors from getting rotated weirdly on airlock tiles.
Media
See the airlock floor tile connectable design below.
Document
Tilemap system: https://ss3d.gitbook.io/systems/tilemaps
Airlock floor tile connectable design: https://ss3d.gitbook.io/design/environment/connectables/airlock-adjacency-connections#airlock-floor-tile