Document toolboxDocument toolbox

2021.1.1560.3 Scene Vector



Overview

This tool is used to set and control a vector needed for an GameObject. A Scene Vector cannot be created separately, it is instead automatically generated when creating other components, such as Kinematic Joints.


Feature layout

The image below shows the example of feature layout of the D Scene Vector inspector.

Scene Vector

 

Scene Vector

 

Global Direction (x,y,z)

This is the global direction of the scene vector (x,y,z)

Vector Tracking Space

This indicates which space the change in the vector needs to be checked in.

Global: The space of the scene itself (global space).

Local Parent: The space of the Game Object compared to its parent (local space).

Local Child: The space of the Game Object itself (the space the mesh is in).

Vector Space

This indicates the space in which the vector is set

Global: The space of the scene itself (global space).

Local Parent: The space of the Game Object compared to its parent (local space).

Local Child: The space of the Game Object itself (the space the mesh is in).

Vector Direction

This sets a standard value for the vector:

Up: Sets the vector in the up direction of the Vector Space.

Down: Sets the vector in the down direction of the Vector Space.

Forward: Sets the vector in the forward direction of the Vector Space.

Backward: Sets the vector in the backward direction of the Vector Space.

Right: Sets the vector in the right direction of the Vector Space.

Left: Sets the vector in the left direction of the Vector Space.

Custom: Sets the vector in the custom direction of the Vector Space.

Manual Vector

Defines the custom vector direction.

Use Scene Gizmo

Enables Unity Gizmo handles which can be used to set the vector.

 

Prespective Documentation