# spherical terrain! help plz

Help Plz!! I am trying to make a game, with level design in the form of a spherical sphere. I searched about making spherical terrain, but i didnt find any good answers, Still i can import a whole sphere from some 3d application, But i dont know is there a way to paint grass over that sphere mesh, as we do paint over unity terrain. I also came through some answers, where we can make use of scripts to make mesh act as terrain object. But i dont think its workign too and am not that good in programming. Please help me out. Thank u.

No, Unity doesn’t have a built-in way for spherical terrain. The terrain script that comes with Unity uses a heightmap so it’s always a rectangular plane. You have to model it outside of Unity or maybe find some third-party-stuff. Maybe there is some generic grass-renderer.

If you’re not good at programming, particularly 3d-space calculations, then this will be rather tough for you.

All of the terrain systems in Unity are designed for height-map based worlds, so you won’t be able to use any of that for your project. If you want to paint grass using the Editor, you will have to write code to do it yourself.

With that said, it is possible to create spherical worlds. In fact I did it for a weekend game jam. I wrote a custom “Planet Physics” component which basically simulates moving around on a circle, though extending this to move on a fully-spherical world wouldn’t be too difficult. But it was necessary that I handled my own collision and physics. It was still rigidbodies moving around, but they were completely controlled by kinematics, not the Unity physics engine.

[820-Screenshot-2012-04-26_20.25.59.png|820]

One possible alternative solution is to use rigidbodies, turn off physics gravity, and then calculate your own gravity forces for every object. In other words, apply a push that always faces the planetary center.

Thank you very much everyone for you replies and and suggestions.

THanks everyone,
Finally, got it working done. Modified from faux script. Thanks to podperson. and my programmer who helped it out.

THanks everyone,
Finally, got it working done. Modified from faux script. Thanks to podperson. and my programmer who helped it out.