Carpets can now be damaged and destroyed.
This commit is contained in:
@@ -20,6 +20,15 @@
|
|||||||
- !type:PhysShapeAabb
|
- !type:PhysShapeAabb
|
||||||
bounds: "-0.5, -0.5, 0.5, 0.5"
|
bounds: "-0.5, -0.5, 0.5, 0.5"
|
||||||
layer: [ Passable ]
|
layer: [ Passable ]
|
||||||
|
- type: Damageable
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 10
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: [ "Destruction" ]
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: Carpet
|
id: Carpet
|
||||||
|
|||||||
Reference in New Issue
Block a user