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
I need to have all objects within a radius of a particular object need to get attracted to it..and move towards it.. like a big magnet.
Is there a inbuilt way to do that.
R0J0hound .. could you point me to a reference for those forumlaes.. how did you arrive at it?
Develop games in your browser. Powerful, performant & highly capable.
The force calculation is a simplification of gravitation.
So that gives the force, and the angle should be toward the magnet so I converted from polar (distance, angle) to caresian (x,y) so I could sum up the forces before applying them to the player.