Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
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.