Allows lasers to pass through glass airlocks (#6499)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
lajolico
2022-02-06 08:48:31 -05:00
committed by GitHub
parent dc38a8a149
commit 5e978857c0
2 changed files with 17 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
components: components:
- type: Sprite - type: Sprite
sprite: Structures/Doors/Airlocks/Standard/medical.rsi sprite: Structures/Doors/Airlocks/Standard/medical.rsi
- type: entity - type: entity
parent: Airlock parent: Airlock
id: AirlockChemistry id: AirlockChemistry
@@ -86,6 +86,21 @@
enabled: false enabled: false
- type: Sprite - type: Sprite
sprite: Structures/Doors/Airlocks/Glass/glass.rsi sprite: Structures/Doors/Airlocks/Glass/glass.rsi
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
mass: 100
mask:
- Impassable
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
- Impassable
- MobImpassable
- VaultImpassable
- SmallImpassable
- type: entity - type: entity
parent: AirlockGlass parent: AirlockGlass

View File

@@ -29,7 +29,7 @@
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
mass: 100 mass: 100
mask: mask:
- MobImpassable - Impassable
layer: layer:
- Opaque - Opaque
- Impassable - Impassable