Custom gravity on non radial objects

Topics: Developer Forum
Aug 13, 2012 at 12:51 PM

Hi,

I have created a very simple game so far where you can roll around different planets. I have used the gravity controller to achieve the radial gravity and it all works great! However i now had the idea of not just using circular planets, but including custom shaped objects too.

I have been trying a few different methods of achieving this, raycasting etc, but so far i just can't get it working correctly.

Has anyone managed to achieve what i'm attempting to do?

Many thanks

=)