/Spherical-Transform-Tool

Tool that extends the unity transform component to place element on spherical surfaces

Primary LanguageC#

Spherical-Transform-Tool

Editor script tool that extends the Unity transform component to place element on spherical surfaces.

Example

Example

How-to-install

  1. Download the CustomTransformComponent.cs file

  2. Put it in your Unity Project, inside your "Editor" folder (Create one if you need to) :

image

  1. Make sure the spheres you want to be targetted are tagged with "Planet", like so:

image

  1. All of your transform components are now equiped with the Spherical Transform tool.

image

How-to-Use

Choose an Axis, and click on the buttons to make it work, it will turn off when focus is lost for performance reasons:
ExampleInside3

P.S. It doesnt work too well with global transform handles, so make sure you drag your objects using the Local transform handles