|
I'm developing a game based based on the FauxGravity classes. The problem is, that currently the game character can only be attracted by one object. I'd like to adapt the FauxGravity scripts, so that whenever an object enters a gravity field it gets attracted relativly to its distance. As I am not too familiar with Unity and physics calculations I'd like to know what would be the best way to adapt the FauxGravity scripts so that many attractors can be applied to one object.
(comments are locked)
|
