IMPORTANT NOTE: I ALREADY SOLVED THE PROBLEM. If you want to see the game, here's the link: https://play.unity.com/mg/other/webgl-builds-136377 This is a logic test for a game I'm making in Unity Game Engine. I've been trying to get it to work for a few weeks now, but for whatever reason my code isn't working. The cow should randomly move around the screen to different locations at a set speed but it's shooting off in one direction. Does anyone know why? Please tell me if you do!
Logic: speed - speed multiplier of the dot xDir - direction on the x axis yDir - direction on the y axis.