This test is for an online computer science course I'm taking.
I tried to remove the bug where it looks like the cube moves faster in the background than foreground, but it ended up looking like the cube was rolling on an invisible cylinder. The illusion is caused by the cube moving the same amount in the foreground and background, but the size changes. This makes it look like it's moving slower the closer it is to the camera. Player, NPC, Two function blocks, one for each character, they preform the same outward operation but have different behaviors and programs.