Move Along a Path + Set Angle Toward Position

Get help using Construct 2

Post » Wed Jan 21, 2015 8:34 am

I have an Enemy sprite (the big dude) that will move when the player is within range. I use Line on Sight.

He will move at a random time to each yellow box position randomly. I use Find & Move along the Path.

I want the enemy to face the player, while he is moving.

But if I set his angle toward the player position. The result is, when he moves, he moves toward the player, instead the yelow boxes.

How to do this?
You do not have the required permissions to view the files attached to this post.
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Wed Jan 21, 2015 10:09 am

In the pathfinding section of your object's properties, you'll have to set Rotate Object to "no" and then use events for all rotation.
B
35
S
9
G
4
Posts: 201
Reputation: 5,170

Post » Thu Jan 22, 2015 3:48 am

Oh yes, you are right. Thank you
B
10
S
5
Posts: 220
Reputation: 1,464


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, David181, fens, Yahoo [Bot] and 12 guests