diff options
author | Nathan Warden <nathanwardenlee@icloud.com> | 2015-05-10 17:39:38 -0500 |
---|---|---|
committer | Nathan Warden <nathanwardenlee@icloud.com> | 2015-05-10 17:39:38 -0500 |
commit | 67bf14bbbbbdcbb6b6f995a54603d1695766ea6e (patch) | |
tree | 83a0335675621c44eb23c261168bee79781e5f5d /demos/3d | |
parent | a2b8b92a6e8f9bf49c437eaa4b638f7e51b87161 (diff) |
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 |