Fixed computers and vending machines collision (#350)

* Fixed computers and vending machines collision

* Also fixed mapped entities
This commit is contained in:
DamianX
2019-09-20 19:42:01 +02:00
committed by Pieter-Jan Briers
parent 892d0ee162
commit de141c49c5
3 changed files with 18 additions and 6 deletions

View File

@@ -6,7 +6,9 @@
- type: Collidable
shapes:
- !type:PhysShapeAabb
layer: 8
bounds: "-0.5,-0.25,0.5,0.25"
mask: 19
layer: 16
- type: Icon
sprite: Buildings/computer.rsi
state: computer

View File

@@ -16,7 +16,9 @@
- type: Collidable
shapes:
- !type:PhysShapeAabb
layer: 8
bounds: "-0.5,-0.25,0.5,0.25"
mask: 19
layer: 16
- type: SnapGrid
offset: Center
- type: Damageable