forked from unfa/liblast
Removed doubled move_and_slide call
parent
5e110b2fca
commit
026598dd19
|
@ -72,7 +72,6 @@ remote func mouselook(rel):
|
|||
camera.rotation.x = clamp(camera.rotation.x-rel.y * sensitivity, -PI/2, PI/2)
|
||||
|
||||
func motion(delta):
|
||||
debug.text += "\n move_and_slide " + String( self.move_and_slide(velocity * delta, Vector3.UP, true) )
|
||||
var slide_velocity = self.move_and_slide(velocity * delta, Vector3.UP, true)
|
||||
|
||||
debug.text += "\nslide_velocity: " + String( slide_velocity )
|
||||
|
|
Loading…
Reference in New Issue