I'm trying to get the location of my player and the ball entity on my level so I can decide if he can move with the ball or not but the vec_dist function causes a crash in the action at the start of the game.
Second problem is that if I don't use the vec_dist, the ball moves with the player but appears at it's original location immediately I release the buttons I assigned to move the ball's x and y positions. Is it because I'm changing x and y positions directly and somehow not making them permanent? How do I set the ball to stop returning to it's former position. I need to make every current location it's location.