mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix friction
This commit is contained in:
parent
1e4550527e
commit
4ddb75e036
1 changed files with 8 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ class DifBuilder {
|
|||
friction: 0.2,
|
||||
restitution: 0.5
|
||||
},
|
||||
"friction_low_shadow" => {
|
||||
friction: 0.2,
|
||||
restitution: 0.5
|
||||
},
|
||||
"friction_high" => {
|
||||
friction: 1.5,
|
||||
restitution: 0.5
|
||||
|
|
@ -206,6 +210,10 @@ class DifBuilder {
|
|||
friction: 6,
|
||||
restitution: 0.3
|
||||
},
|
||||
"friction_high_shadow" => {
|
||||
friction: 6,
|
||||
restitution: 0.3
|
||||
},
|
||||
];
|
||||
|
||||
static function createDefaultMaterial(onFinish:hxsl.Shader->Void, baseTexture:String, normalTexture:String, shininess:Float, specularColor:Vector,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue