View Single Post
  #3  
Old 03-14-2005, 02:37 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Depends on the nature of the pull. You'll need to calculate some kind of force to be exerted on the objects, probably proportional to the object's mass and inversely proportional to the square of the distance to the centre. Then use a simple F=ma to determine the acceleration and add it to the object's velocity.

Again and again and again.
__________________
Reply With Quote