summaryrefslogtreecommitdiff
path: root/demos/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-16 13:47:04 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-16 13:47:04 -0300
commit2882ff1b7e5008e87d753acc0da61f2e82fb7940 (patch)
tree5deb8b6ecd07d10f5449b7df386bbd773536fc71 /demos/3d
parent4a523e22e09d20566d4ead93542a0880aedafd65 (diff)
parent67bf14bbbbbdcbb6b6f995a54603d1695766ea6e (diff)
Merge pull request #1881 from NateWardawg/master
Removed redundant code in the kinematic 3D demo.
Diffstat (limited to 'demos/3d')
-rw-r--r--demos/3d/kinematic_char/cubio.gd5
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/3d/kinematic_char/cubio.gd b/demos/3d/kinematic_char/cubio.gd
index a1baa78a0c..058b919d05 100644
--- a/demos/3d/kinematic_char/cubio.gd
+++ b/demos/3d/kinematic_char/cubio.gd
@@ -46,9 +46,8 @@ func _fixed_process(delta):
vel.x=hvel.x;
vel.z=hvel.z
-
- var motion = vel*delta
- motion=move(vel*delta)
+
+ var motion = move(vel*delta)
var on_floor = false
var original_vel = vel