LocalDirection

The LocalDirection Node

This node can be used to covert a world space vector (or vector component) into local space. The node requires between 1 and 3 input values which you can supply as Node Inputs, or you can add fixed values to the node input boxes. You can also set these values using the Inspector window:
The Inspector Window Inputs For The LocalDirection Node

World space is considered as ECEF - "Earth-Centered, Earth-Fixed" where directions and orientations are calculated using the center of the earth as the base location. This means that directions/velocities are based on the vector from the center of the earth, where the Y vector would be from the center of the earth to the north pole. Local space is considered as being relative to the emitter and based on the orientation of the aircraft, where the Y vector would be "up" from the base of the aircraft through the roof.

 

 

Node Inputs

The LocalDirection node permits the following inputs:

 

  • X
    This is the X component of the world space direction vector.

 

  • Y
    This is the Y component of the world space direction vector.

 

  • Z
    This is the Z component of the world space direction vector.

 

 

Node Output

The node will output a vec3 which represents the input values transformed into local space.