====== BUILDING_FUNCTION_SINGLE_DOOR ====== **Category**: Asset\\ **Mod Dependency**: [[https://foundation.mod.io/foundation-ebf|Foundation EBF]] Parent class: [[api:building_function|BUILDING_FUNCTION]] ===== Properties ===== ---- ==== OpeningAngle ==== * **Type**: ''float'' * **Default value**: ''90.0'' ---- ==== OpeningSpeed ==== * **Type**: ''float'' * **Default value**: ''2.0'' ---- ==== OpenHoldTime ==== * **Type**: ''float'' * **Default value**: ''2.0'' ---- ==== TriggerNodeName ==== * **Type**: ''string'' * **Default value**: ''Trigger'' * **Should be a single mesh object with a [[api:comp_grounded|COMP_GROUNDED]] assigned to it. The name of the mesh object should start with this word. I recommend a small cube or plane in the middle of the door with a transparent texture** ---- ==== TriggeringDistance ==== * **Type**: ''float'' * **Default value**: ''4.0'' ---- ==== DoorNodeName ==== * **Type**: ''string'' * **Default value**: ''Door'' * **The names of all meshes belonging to the Door should start with this word** ---- ==== DoorPivotPoint ==== * **Type**: ''[[api:vec3f|vec3f]]'' * **Default value**: ''{ 0, 0, 0 }'' * **In Local Coordinates!** ----