aboutsummaryrefslogtreecommitdiff
path: root/demos/3d/platformer
diff options
context:
space:
mode:
Diffstat (limited to 'demos/3d/platformer')
-rw-r--r--demos/3d/platformer/bullet.scnbin5465 -> 6157 bytes
-rw-r--r--demos/3d/platformer/coin.scnbin6013 -> 6791 bytes
-rw-r--r--demos/3d/platformer/enemy.gd2
-rw-r--r--demos/3d/platformer/enemy.scnbin36976 -> 37784 bytes
4 files changed, 1 insertions, 1 deletions
diff --git a/demos/3d/platformer/bullet.scn b/demos/3d/platformer/bullet.scn
index 43f48fc99..da90dba1a 100644
--- a/demos/3d/platformer/bullet.scn
+++ b/demos/3d/platformer/bullet.scn
Binary files differ
diff --git a/demos/3d/platformer/coin.scn b/demos/3d/platformer/coin.scn
index 449bb0f89..a4148b406 100644
--- a/demos/3d/platformer/coin.scn
+++ b/demos/3d/platformer/coin.scn
Binary files differ
diff --git a/demos/3d/platformer/enemy.gd b/demos/3d/platformer/enemy.gd
index 1d0e0315d..cbbb2fe72 100644
--- a/demos/3d/platformer/enemy.gd
+++ b/demos/3d/platformer/enemy.gd
@@ -45,7 +45,7 @@ func _integrate_forces(state):
state.set_angular_velocity( -dp.cross(up).normalized() *33.0)
get_node("AnimationPlayer").play("impact")
get_node("AnimationPlayer").queue("explode")
- set_friction(true)
+ set_friction(1)
cc.disabled=true
get_node("sound").play("hit")
return
diff --git a/demos/3d/platformer/enemy.scn b/demos/3d/platformer/enemy.scn
index b3f69af60..06d725061 100644
--- a/demos/3d/platformer/enemy.scn
+++ b/demos/3d/platformer/enemy.scn
Binary files differ