been some time since I've used it but here's how i think I remember doing it.
h# is calulated like so
h#=rnd(10)/100.0+2
which makes a random size force sphere.
phy create force field _neutral
phy set force field coordinates _neutral, 1
phy set force field constant _neutral, 0.0, 0.0, 0.0
PHY SET FORCE FIELD NOISE _neutral, 5.0, 5.0, 5.0
phy set force field rigid body _neutral, id
phy build force field _neutral
phy add force field sphere _neutral, 0, 0.0, 0.0, 0.0, h#*rr
and here attract and repeal
if r=0
rem attract
phy create force field _attract
phy set force field coordinates _attract, 1
phy set force field constant _attract, -800.0, 2000.0, 0.0
PHY SET FORCE FIELD NOISE _attract, -5.0, -5.0, -5.0
phy set force field rigid body _attract, id
phy build force field _attract
phy add force field sphere _attract, 0, 0.0, 0.0, 0.0, h#*rr
endif
if r=1
rem repeal
phy create force field _repeal
phy set force field coordinates _repeal, 1
phy set force field constant _repeal, 2000.0, 2000.0, 0.0
PHY SET FORCE FIELD NOISE _repeal, 5.0, 5.0, 5.0
phy set force field rigid body _repeal, id
phy build force field _repeal
phy add force field sphere _repeal, 0, 0.0, 0.0, 0.0, h#*rr
endif
Dark Physics makes any hot drink go cold.