[WIP] Editor Measuring Tool

Hello! I’m working a tool that can be used in the Unity editor. This will be able to measure distances between objects or between the object’s vertices and other points. It will also be able to measure angles when given three points.

I plan on adding other features to it; including, circumference, volume, and perimeter. I’ll also try to add whatever you guys ask.

Please feel free to ask any questions or make any comment Thank you.

Here’s a quick gif of both the distance and angle tool. https://gfycat.com/EntireCriminalBlackfly

I’ll post any updates I make to this thread.

Update #1 (January 3rd 2017)

I added the ability to delete points that were picked. These points can be the ones making up lines or angles. Here’s a GIF showing off what was added https://gfycat.com/PossibleDependableBunny

Another small feature that was added, is that the point that makes up the origin of the angle now turns a different color, this way it is easier to tell what the angle is measuring. Here’s a link so you can see it better https://gfycat.com/ColdAggravatingGuineafowl

As always, please feel free to tell me what is bad and what’s good. Thank you!

Update #2 (January 9th 2017)

It has been a while since my last update but here it is!

The vertex selecting in the GIF in the title only works with objects that have a mesh collider. There may be a way to do it with other colliders, but it will probably be CPU intensive.

There have also been some other features and improvements. You can now select points at the extents of the collider or the mesh renderer: https://gfycat.com/AngelicFondAndalusianhorse

There are some options for adjusting the colors of the lines, angles, radius, and points: https://gfycat.com/GlamorousDigitalEskimodog https://gfycat.com/EnergeticFlimsyGaur

I added an option to select objects that have any kind of collider automatically. https://gfycat.com/FrightenedDiscreteAfricanbushviper

Please leave some feedback or give me some ideas for improvements. Thank you!

Looks cool. This would be useful to check for scaling issues in VR.

Yeah, that’s one reason why I’m making this tool; although, I don’t have a VR headset, I still have trouble keeping a consistent scale in my projects.

Thanks for the reply. If you have any questions or suggestions feel free to tell me them.

It would be nice to be able to measure distances on terrain also. For example pick a point A and B on terrain and see what is the distance between these points and differences in X, Y and Z.

That is something I’m thinking about doing. Right now the points come from the origin of the object and its vertices. I’ll have to take a look to see if there is any way to get the vertices of the terrain. I might be able to do it with a ray cast as well.

Update #1 (January 3rd 2017)

I added the ability to delete points that were picked. These points can be the ones making up lines or angles. Here’s a GIF showing off what was added https://gfycat.com/PossibleDependableBunny

Another small feature that was added, is that the point that makes up the origin of the angle now turns a different color, this way it is easier to tell what the angle is measuring. Here’s a link so you can see it better https://gfycat.com/ColdAggravatingGuineafowl

As always, please feel free to tell me what is bad and what’s good. Thank you!

Update #2 (January 9th 2017)

It has been a while since my last update but here it is!

The vertex selecting in the GIF in the title only works with objects that have a mesh collider. There may be a way to do it with other colliders, but it will probably be CPU intensive.

There have also been some other features and improvements. You can now select points at the extents of the collider or the mesh renderer: https://gfycat.com/AngelicFondAndalusianhorse

There are some options for adjusting the colors of the lines, angles, radius, and points: https://gfycat.com/GlamorousDigitalEskimodog https://gfycat.com/EnergeticFlimsyGaur

I added an option to select objects that have any kind of collider automatically. https://gfycat.com/FrightenedDiscreteAfricanbushviper

Please leave some feedback or give me some ideas for improvements. Thank you!