How do I make an object stay at a certain place to player

0 favourites
  • 4 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • The title is bad, but it's hard to explain. I'm trying to make runaway AI for my game and I want it to run away from the player through pathfinding to help it dodge trees and look semi-realistic. The problem is that I have nothing to make it pathfind to, and therefore require a way to move an object to a certain distance away from the player, and also always stay infront of the player. But I'm having a problem with that as well because the players can simply turn away from the object running away to draw it towards the player. So my question is, how do i properly make an object pathfind away from the player, or simply run away from the player and dodge solid objects as pathfinding would? I'm getting very frustrated because I really want this to work but I have no idea where to begin and what to even do! Please help me!

  • Your trying to get this object to run and dodge things?

    What type of game is this? Platformer? or top down?

    Justin

  • Your trying to get this object to run and dodge things?

    What type of game is this? Platformer? or top down?

    Justin

    Sorry, I don't need help anymore! Thanks anyways!

    BTW, it's a top down.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Glad you got it resolved...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)