"Super Mario Galaxy"-esque sphere joint?

Hi folks,

I’ve been trying to get a joint working so that it restricts a body to a specific distance from a central point, but with unlimited rotation (and no gravity), basically so my character can cruise around a planet at a fixed height.

I’ve tried numerous combinations of settings on character joints, configurable joints, etc., but haven’t been able to come up with anything successful. Can anyone point me in the right direction?

Thanks!

Note: for anyone who stumbles across this post looking for answers :slight_smile:

I did find the following article to be very interesting:

It discusses a different technique (raycasting for the polygon beneath your character in order to get its normal, and thus the inverse of gravity for your character), which is advantageous if you have non-spherical bodies.

…and this thread:

http://forum.unity3d.com/viewtopic.php?t=16170&start=0&postdays=0&postorder=asc&highlight=