0 Favourites

How do I Follow the Object (Bullet)with Pathfinding Behavior

  • hi guys, i need some help, to resolve some problem

    so, i make a games with touch and pathfinding behavior

    and the i want to MainChar go to the object when we click the Object

    but if the Object has Bullet behavior, the MainChar not follow the object but only follow the first place i click the Object, so the MainChar and Object not meet...

    Thanks before......and sorry about my grammar and vocabularies...

  • You probably have set the pathfinding behaviour to go to the point where the touch was, right?

    This only works for non-moving objects.

    To follow a moving object, you need to update the pathfinding every second or so. (depends on your liking how regularly it gets updated. The more often the more ressource intensive the program will be)

    I created a .capx for you, have a look: https://www.dropbox.com/s/xrh10x5z7mmbnwy/FollowBullet.capx?dl=1

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • You probably have set the pathfinding behaviour to go to the point where the touch was, right?

    This only works for non-moving objects.

    To follow a moving object, you need to update the pathfinding every second or so. (depends on your liking how regularly it gets updated. The more often the more ressource intensive the program will be)

    I created a .capx for you, have a look: https://www.dropbox.com/s/xrh10x5z7mmbnwy/FollowBullet.capx?dl=1

    Really thanks randomly, well done, thanks for helping me. finally i get it, i will try to implement with touch now....once again thanks randomly

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[BEHAVIOR] Chipmunk Physics
673 82,527
nelostic's avatar
nelostic
Unread hot topic
0 Favourites
[Behavior] LiteTween
672 169,929
manujorgo's avatar
manujorgo
Unread hot topic
564 105,245
rexrainbow's avatar
rexrainbow