Object movement..
- Posted by Liquid-Nitrogen Software <nitrogen_069 at HOTMAIL.COM> Jun 07, 1999
- 513 views
Hi, anyone got any ideas on the following: I have an object with a position {x,y} and velocity {x,y} i also have other objects with position {x,y} these other objects attract or repell the first object, how do i caluclate a value to add to the first objects velocity so that it will be pushed directly away from a repelling object, or pulled toward an attracting object? The force should be less further away from the object. Thanks, -Mark.