Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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 ?
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
Develop games in your browser. Powerful, performant & highly capable.
it helps alot ! thanks