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 ?
Develop games in your browser. Powerful, performant & highly capable.
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
it helps alot ! thanks