Floor Type
This smart asset belongs to the following package:
- com.yahaha.sdk.horrorgameassets
The FloorType package includes four predefined floor types: Grass, Indoor, Concrete, and Mud. Each floor type comes with a preconfigured material and an enabled mesh collider. The component also integrates with the player footstep sound system, where specific floor sounds are preset via Game Settings > Player > Player Footstep Sounds.
Properties
Properties | Description |
---|---|
Materials | Determines how the texture interacts with the mesh and reacts to lighting and other visual effects. Click the Edit button to modify the material. |
CastShadow | When enabled, the mesh casts shadows when illuminated by a shadow-casting directional light. |
Mesh Collider | Enables collision detection based on the mesh’s actual geometry for precise physical interactions. This collider can only be added during import and cannot be manually added via the Properties window. |
Floor Type | Assigns a floor type name to the object, which triggers matching player footstep sounds as configured in Game Settings > Player > Player Footstep Sounds. |
Images of four floor types
Grass | Indoor | Concrete | Mud |
---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Events and Actions
Events
- None
Actions
- None