Hm, somehow I can't get something to rotate. Instead of rotating it teleports to left but doesnt change rotation at all.
(Without the "rotate_z", it would just go forwards at rate that depends on $Speed so it can't be that.)
(agent_get_position,pos1, ":agent"),
(init_position, pos2),
(position_set_y, pos2, "$Speed"), # Moving Forwards
(position_rotate_z, pos2, 2),
(position_transform_position_to_parent, pos3, pos2, pos1),
(agent_set_position, ":agent", pos3),