]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds bullet collision to wall mounted cameras (#34500)
authorSpessmann <156740760+Spessmann@users.noreply.github.com>
Sat, 18 Jan 2025 13:41:29 +0000 (05:41 -0800)
committerGitHub <noreply@github.com>
Sat, 18 Jan 2025 13:41:29 +0000 (14:41 +0100)
Resources/Prototypes/Entities/Structures/Wallmounts/surveillance_camera.yml

index 895b710a068bbe935774ffac386a3c362bdfc057..db3b469a9fa1ffa4d1fe54679046f120c0b8bfd9 100644 (file)
         hard: false
         mask:
         - GhostImpassable
+      fix1:
+        shape:
+          !type:PhysShapeAabb
+          bounds: "-0.5,-0.5,-0.2,-0.15"
+        density: 190
+        mask:
+        - TabletopMachineMask
+        layer:
+        - TabletopMachineLayer
   - type: LightOnCollide
   - type: PointLight
     enabled: false