Fixes soap and banana peels going through walls when thrown.
This commit is contained in:
@@ -183,9 +183,14 @@
|
||||
- type: Slippery
|
||||
intersectPercentage: 0.2
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
mass: 5
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,-0.2,0.2,0.2"
|
||||
layer:
|
||||
- MobImpassable
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.3,-0.4,0.3,0.4"
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
|
||||
@@ -104,10 +104,11 @@
|
||||
- type: Item
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
- type: Slippery
|
||||
paralyzeTime: 2.5
|
||||
paralyzeTime: 2
|
||||
intersectPercentage: 0.2
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
mass: 5
|
||||
bodyType: KinematicController
|
||||
mass: 2.5
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
@@ -115,9 +116,8 @@
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- SmallImpassable
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
hard: false
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
|
||||
Reference in New Issue
Block a user