Collisiongroup tweaks (#8110)

This commit is contained in:
Jacob Tong
2022-05-11 17:24:00 -07:00
committed by GitHub
parent deaecf746e
commit e6e9f169a0
7 changed files with 12 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ public enum CollisionGroup
// 32 possible groups
AllMask = -1,
MobMask = Impassable | MidImpassable | LowImpassable,
MobMask = Impassable | HighImpassable | MidImpassable | LowImpassable,
MobLayer = Opaque | BulletImpassable,
SmallMobMask = Impassable | LowImpassable,
SmallMobLayer = Opaque | BulletImpassable,
@@ -57,6 +57,7 @@ public enum CollisionGroup
GlassLayer = Impassable | HighImpassable | MidImpassable | LowImpassable | BulletImpassable,
HalfWallLayer = MidImpassable | LowImpassable,
FullTileMask = Impassable | HighImpassable | MidImpassable | LowImpassable,
FullTileLayer = Opaque | HighImpassable | MidImpassable | LowImpassable | BulletImpassable,
SubfloorMask = Impassable | LowImpassable
}

View File

@@ -48,8 +48,7 @@
!type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
mask:
- Impassable
- HighImpassable
- TabletopMachineMask
layer:
- AirlockLayer
- type: Door

View File

@@ -20,7 +20,7 @@
id: brrt
hard: false
layer:
- FullTileMask
- FullTileLayer
- shape:
!type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,0.49"

View File

@@ -24,9 +24,9 @@
!type:PhysShapeAabb
bounds: "-0.25,-0.45,0.25,0.45"
mask:
- FullTileMask
- MachineMask
layer:
- WallLayer
- MachineLayer
mass: 100
- type: Destructible
thresholds:

View File

@@ -13,7 +13,7 @@
mask:
- FullTileMask
layer:
- FullTileMask
- WallLayer
- type: InteractionOutline
- type: Anchorable
- type: Sprite
@@ -50,7 +50,7 @@
mask:
- FullTileMask
layer:
- FullTileMask
- GlassLayer
- type: Transform
anchored: true
- type: Sprite

View File

@@ -18,7 +18,7 @@
mask:
- MachineMask
layer:
- FullTileMask
- GlassAirlockLayer
- type: InteractionOutline
- type: Construction
graph: Girder

View File

@@ -117,10 +117,10 @@
!type:PhysShapeAabb
bounds: "-0.49,-0.49,0.49,-0.3"
mass: 50
layer:
- GlassLayer
mask:
- FullTileMask
layer:
- GlassLayer
- type: Repairable
- type: Damageable
damageContainer: Inorganic