How do I Set object angle to the other nearest object pos ?

Get help using Construct 2

Post » Sat Jan 28, 2017 1:23 am

How do I Set object angle to the other nearest object position ?
like
on sprite1 created
set angle toward nearest sprite2
how do i do it ?
B
8
S
3
Posts: 46
Reputation: 708

Post » Sat Jan 28, 2017 12:36 pm

I've made an example capx where the first object is always pointing at the nearest second object:
Example CAPX
Try and drag the green box in the example around. It will always rotate towards the nearest blue box

I hope this solves your problem :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Thu Feb 02, 2017 11:32 am

it helps alot ! thanks :D
B
8
S
3
Posts: 46
Reputation: 708


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, Yahoo [Bot] and 6 guests