Template:GetDirectionNodePage: Difference between revisions

Template page
fix problem
formatting
Line 1: Line 1:
<noinclude>=== Edit this page to edit all Get Direction pages.===</noinclude>
<noinclude>=== Edit this page to edit all Get Direction pages ===
{{#Invoke:ProtoFlux|GenerateUI
</noinclude>{{#Invoke:ProtoFlux|GenerateUI
|Name=Get {{{1}}}
|Name=Get {{{1}}}
|Category=Direction
|Category=Direction
Line 13: Line 13:
|}}
|}}


Get {{{1}}} Is a protoflux node that allows you to get the {{{1}}} direction of the provided Instance ([[Slot|Slot]])
The '''Get {{{1}}}''' node returns the {{lc:{{{1}}}}} direction of the provided <code>Instance</code> slot in [[global space]].
 
See [[Coordinate Spaces]] For how this node can be used in bigger systems.


== Inputs ==
== Inputs ==
Line 21: Line 19:
=== Instance ([[Slot|Slot]]) ===
=== Instance ([[Slot|Slot]]) ===


The slot to find the {{{1}}} of.
The slot to find the {{lc:{{{1}}}}} direction of.


== Outputs ==
== Outputs ==
Line 27: Line 25:
=== * ([[Type:Float3|float3]]) ===
=== * ([[Type:Float3|float3]]) ===


The {{{1}}} of the provided Instance ([[Slot|Slot]]).
The {{lc:{{{1}}}}} drection of the provided <code>Instance</code> in global space.


== Examples ==
== Examples ==


<noinclude><code>//Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like</code></noinclude>
<noinclude><code>// Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like
<noinclude>[[File:TestImage.webp|480x480px|thumb|left|Get ARG1 being used to show the ARG1 direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt=Get ARG1 being used to show the ARG1 direction of a slot using a Debug Vector Node]]</noinclude>
[[File:TestImage.webp|480x480px|thumb|left|Get ARG1 being used to show the ARG1 direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt=Get ARG1 being used to show the ARG1 direction of a slot using a Debug Vector Node]]</code></noinclude>
 
<includeonly>[[{{#Invoke:ReturnImageForTemplate|ReturnImage|File:ProtoFlux_Example_Get_|.webp|1}}|480x480px|thumb|left|Get {{{1}}} being used to show the {{{1}}} direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt=Get {{{1}}} being used to show the {{{1}}} direction of a slot using a Debug Vector Node]]</includeonly>
 


<includeonly>[[{{#Invoke:ReturnImageForTemplate|ReturnImage|File:ProtoFlux_Example_Get_|.webp|1}}|480x480px|thumb|left|Get {{{1}}} being used to show the {{lc:{{{1}}}}} direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt=Get {{{1}}} being used to show the {{lc:{{{1}}}}} direction of a slot using a Debug Vector Node]]


<includeonly>[[Category:ProtoFlux:Transform:Direction]]</includeonly>
[[Category:ProtoFlux:Transform:Direction]]</includeonly>

Revision as of 21:44, 20 April 2025

Edit this page to edit all Get Direction pages

Get {{{1}}}
Instance
*
Direction

The Get {{{1}}} node returns the {{{1}}} direction of the provided Instance slot in global space.

Inputs

Instance (Slot)

The slot to find the {{{1}}} direction of.

Outputs

* (float3)

The {{{1}}} drection of the provided Instance in global space.

Examples

// Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like

Get ARG1 being used to show the ARG1 direction of a slot using a Debug Vector Node
Get ARG1 being used to show the ARG1 direction of a slot using a Debug Vector Node