- Edited
Hi guys, I am trying to determine the previous frame position of a node. I checked the forum and it seems that in _process(delta) function I must first record the current position and then after I move the node record the new position. The problem is that they are always the same. The code looks something like this: print(vel) ....... vel = (target.position - position).normalized() vel = move_and_slide(vel*speed) print(vel) So the node is moving, but every frame I get both values for vel the same. I suppose this is something quite simple, but I can't figure it out.