From 18c3e25fde33c7d9404f860daafdd75280073e41 Mon Sep 17 00:00:00 2001 From: Nathan Warden Date: Sun, 10 May 2015 17:39:38 -0500 Subject: [PATCH] Removed redundant code in the kinematic 3D demo. --- 3d/kinematic_char/cubio.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/3d/kinematic_char/cubio.gd b/3d/kinematic_char/cubio.gd index a1baa78a..058b919d 100644 --- a/3d/kinematic_char/cubio.gd +++ b/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