Physics

Visualization Of Physics In Unity

Visualization-of-physics-in-Unity

Few class to visualize shapes in space, vectors.

For example:

alt tag alt tag

WHAT WE MUST DO TO USE THOSE METHODS:

First we must add namespace to your script:

alt tag

Method can be invoked from OnDrawGizmos() and OnDrawGizmosSelected():

alt tag

Classes to visualize methods you can find in this folder:

alt tag

In this folder you can find example scenes with examples of uses of classes.

alt tag

How to use examples?

  1. Choice a scene with interesting methods.
  2. Open scene window (gizmos are places in different places in space, so from scene window its much easier to find them)
  3. Activate choisen gameObject with right script and open script

alt tag

Where can we get more about methods to visualize? CHECK WIKI! alt tag