Actor moving towards another
Hello I have a game where your the spaceship and you have to dodge and shoot enemies as they come flying into the screen. I have an issue though with the enemy movement. I made 2 attributes globally (when your in the scene) with Player-X, and Player-Y. My spaceships name is Player and i constrained the two attributes with the position of my player actor (self.position.x/y) and then i put the move to function into the enemy and set the positions to: game.Player-X and game.Player-Y the two attributes are REAL. But all the enemy does is move to 0,0 and nowhere else. Please help and be specific with your solutions. I also looked at numerous posts about this and did exactly what it told me to do but in the end it still did the same thing.
THANKS
THANKS
Comments