Skip to content

ZiadRbai/Spherical-Transform-Tool

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages