mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-02 10:49:45 -05:00
improved traction for Composites.car
This commit is contained in:
parent
95ae911ed6
commit
95eddb01f7
1 changed files with 4 additions and 0 deletions
|
@ -251,6 +251,8 @@ var Composites = {};
|
||||||
},
|
},
|
||||||
restitution: 0.5,
|
restitution: 0.5,
|
||||||
friction: 0.9,
|
friction: 0.9,
|
||||||
|
frictionStatic: 10,
|
||||||
|
slop: 0.5,
|
||||||
density: 0.01
|
density: 0.01
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -260,6 +262,8 @@ var Composites = {};
|
||||||
},
|
},
|
||||||
restitution: 0.5,
|
restitution: 0.5,
|
||||||
friction: 0.9,
|
friction: 0.9,
|
||||||
|
frictionStatic: 10,
|
||||||
|
slop: 0.5,
|
||||||
density: 0.01
|
density: 0.01
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue