diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-16 13:47:04 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-16 13:47:04 -0300 |
commit | 2882ff1b7e5008e87d753acc0da61f2e82fb7940 (patch) | |
tree | 5deb8b6ecd07d10f5449b7df386bbd773536fc71 /demos/3d | |
parent | 4a523e22e09d20566d4ead93542a0880aedafd65 (diff) | |
parent | 67bf14bbbbbdcbb6b6f995a54603d1695766ea6e (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.gd | 5 |
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 |