x


multiple attractors (fauxgravity)

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.

more ▼

asked Apr 26 '11 at 03:13 PM

Carl 4 gravatar image

Carl 4
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort oldest
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x10

asked: Apr 26 '11 at 03:13 PM

Seen: 668 times

Last Updated: Apr 26 '11 at 03:13 PM