jonlab / NewAtlantis

http://www.newatlantis.world/
9 stars 6 forks source link

Fixed the falling ball problem #61

Closed AlanPearlRPI closed 7 years ago

AlanPearlRPI commented 7 years ago

Modification to NoiseBall.cs to fix a bug where the original position of each ball was update each frame in the RepellBalls() function. It is now in Start() and the balls now feel a force which pulls them back to their original position instead of falling down into the void.