As a player, I want to know where and how an object will sit before I place it, so that I can place it how I want.
Issue
Create a ghost object in front of the player when they are holding an item, previewing the orientation and location of that object before they place it (closes #87 & closes #67)
Changes
Ghost object is a child of Main Camera on the Player prefab. When player holds an object, the ghost object inherits the held item's mesh (by combining all submeshes) and makes it use only 1 material (sets all polygons to use material 0 from mesh renderer). This is the ghost object material. It has an animator which controls the pulsing of transparency and also switches color from blue to red when player is looking at a place where the item cannot be placed.
User Story
As a player, I want to know where and how an object will sit before I place it, so that I can place it how I want.
Issue
Create a ghost object in front of the player when they are holding an item, previewing the orientation and location of that object before they place it (closes #87 & closes #67)
Changes
Ghost object is a child of Main Camera on the Player prefab. When player holds an object, the ghost object inherits the held item's mesh (by combining all submeshes) and makes it use only 1 material (sets all polygons to use material 0 from mesh renderer). This is the ghost object material. It has an animator which controls the pulsing of transparency and also switches color from blue to red when player is looking at a place where the item cannot be placed.