Fix soap and banana peel slips. (#3681)

* Fix soap and banana peel slips.

* Update submodule.
This commit is contained in:
Vera Aguilera Puerto
2021-03-16 11:45:48 +01:00
committed by GitHub
parent b6ab8b64db
commit 49ea3da72e
3 changed files with 8 additions and 4 deletions

View File

@@ -182,13 +182,15 @@
state: peel
- type: Slippery
intersectPercentage: 0.2
- type: CollisionWake
enabled: false
- type: Physics
bodyType: KinematicController
mass: 5
fixtures:
fixtures: # TODO: Make a second fixture. One should be for slipping, and the other for collisions.
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"
bounds: "-0.2,-0.2,0.2,0.2"
layer:
- SmallImpassable
mask:

View File

@@ -106,10 +106,12 @@
- type: Slippery
paralyzeTime: 2
intersectPercentage: 0.2
- type: CollisionWake
enabled: false
- type: Physics
bodyType: KinematicController
mass: 2.5
fixtures:
fixtures: # TODO: Make a second fixture. One should be for slipping, and the other for collisions.
- shape:
!type:PhysShapeAabb
bounds: "-0.3,-0.4,0.3,0.4"