Removed redundant code in the kinematic 3D demo.
This commit is contained in:
parent
a2b8b92a6e
commit
67bf14bbbb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue