Named fixtures for banana peels (#3822)

* Named fixtures for banana peels

* Soaps and PDAs

* Update submodule
This commit is contained in:
metalgearsloth
2021-04-13 20:57:29 +10:00
committed by GitHub
parent 499cfe7c3d
commit dc48b25a3b
31 changed files with 124 additions and 97 deletions

View File

@@ -185,14 +185,18 @@
- type: CollisionWake
enabled: false
- type: Physics
bodyType: KinematicController
fixtures: # TODO: Make a second fixture. One should be for slipping, and the other for collisions.
bodyType: Dynamic
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
name: "slips"
hard: false
layer:
- SmallImpassable
- shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
mass: 5
layer:
- SmallImpassable
mask:
- Impassable
- MobImpassable
- SmallImpassable

View File

@@ -88,18 +88,21 @@
- type: CollisionWake
enabled: false
- type: Physics
bodyType: KinematicController
fixtures: # TODO: Make a second fixture.
bodyType: Dynamic
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
name: "slips"
hard: false
layer:
- SmallImpassable
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
mass: 2.5
hard: false
layer:
- SmallImpassable
mask:
- Impassable
- MobImpassable
- SmallImpassable
- type: entity
name: Mime PDA

View File

@@ -109,17 +109,21 @@
- type: CollisionWake
enabled: false
- type: Physics
bodyType: KinematicController
fixtures: # TODO: Make a second fixture. One should be for slipping, and the other for collisions.
bodyType: Dynamic
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
mass: 2.5
name: "slips"
hard: false
layer:
- SmallImpassable
- SmallImpassable
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
mass: 5
mask:
- Impassable
- MobImpassable
- SmallImpassable
- type: entity
name: soap