Create page and add basic information |
Added links. |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Set Global Rotation | |Name=Set Global Rotation | ||
|Category= | |Category=Transform | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
Line 20: | Line 20: | ||
=== * ([[Impulses|Call]]) === | === * ([[Impulses|Call]]) === | ||
Sets the Instance slot's global | Sets the Instance slot's global roation when an impulse is received. | ||
=== Instance (Slot) === | === Instance ([[Slot]]) === | ||
The slot whose global | The slot whose global rotation is set. Default is null, the node does not function without this input. | ||
=== Rotation (floatQ) === | === Rotation ([[Type:floatQ|floatQ]]) === | ||
The global rotation the input Instance slot is set to. Default is [0;0;0]. | The global rotation the input Instance slot is set to. Default is [0;0;0]. | ||
Line 34: | Line 34: | ||
=== Next ([[Impulses|Continuation]]) === | === Next ([[Impulses|Continuation]]) === | ||
An impulse is fired whenever the Instance slot's | An impulse is fired whenever the Instance slot's rotation is set after the node receives an impulse. No impulse is fired from this output if the Instance input is null. | ||
[[Category:ProtoFlux:Transform]] | [[Category:ProtoFlux:Transform]] |
Latest revision as of 12:58, 28 May 2024
Set Global Rotation
Transform
The Set Global Rotation node sets the input slot's rotation to the provided floatQ value in global coordinate space.
Inputs
* (Call)
Sets the Instance slot's global roation when an impulse is received.
Instance (Slot)
The slot whose global rotation is set. Default is null, the node does not function without this input.
Rotation (floatQ)
The global rotation the input Instance slot is set to. Default is [0;0;0].
Outputs
Next (Continuation)
An impulse is fired whenever the Instance slot's rotation is set after the node receives an impulse. No impulse is fired from this output if the Instance input is null.