View Single Post
  #4  
Old 03-14-2005, 02:52 AM
Deek2 Deek2 is offline
Registered User
Join Date: May 2002
Location: Springfield, Missouri
Posts: 1,578
Deek2 is on a distinguished road
Quote:
Originally Posted by Kaimetsu
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.
I'm not quite sure how one would represent a player's mass on gscript.
Reply With Quote