- Home /
How can I achieve inverse sphere gravity?
Hi,
I'm looking to produce a sphere gravity from the inside of the sphere - ie walking along the inside "walls". This means if I put a building on one side and can see it looking up from the other.
I've found a number of posts on walking on top of the sphere, but haven't seen one for the inverse.
I'm new to Unity so any code samples, other articles or even just which functions to look at would be awesome.
Also, in the Mario Galaxy examples there appear to be several things to watch out for, what would I need to watch out for with this version?
Thanks!
There is a script on the wiki for gravity. $$anonymous$$odify it as you please.
Thanks Lockstep,
It looks a great place to start. I've also located an older thread on the faux gravity style and I'll give both approaches a go. Still not sure how to go about implementing these though (this is my first Unity script attempt). I'll give them a go, and maybe do a few easier scripts first and come back to it.
http://forum.unity3d.com/threads/8873-Faux-Gravity-making-my-brain-spin-Help!
Your answer
