# Godot 3, multiplying by delta not making the object to move

I have a simple code which makes a sprite rotate and move,

extends Sprite

var vel = Vector2(1,1)

print(position)
pass

func _process(delta):
rotation += PI * delta
position = position + vel * delta
pass


But in the line

position = position + vel * delta


when I multiply by delta, the sprite doesn't move, when I remove the delta, the sprite moves, why is that? I saw this tutorial and it seems to work fine.

• How much is 1 unit? Feb 8 '18 at 10:10
• @Bálint 1 unit is 1 pixel Feb 8 '18 at 10:16
• Hi, did you tried with set_process(true) in _ready? Feb 15 '18 at 13:02
• @Tapirboy Assuming I understand it correctly, no lifecycle methods in Godot 3.0 require manual enabling. This is only required if you're working with 2.1. Feb 18 '18 at 0:19
• @TARDISMaker Yes, true,sorry - my bad. So, another thing - can you really multiply a vector with a number (velocity * delta)? Mar 6 '18 at 13:34