ProtoFlux:Set Local Rotation: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
Added links.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Set Local Rotation
|Name=Set Local Rotation
|Category=Wiki
|Category=Transform
|Inputs=
|Inputs=
[
[
Line 22: Line 22:
Sets the Instance slot's local roation when an impulse is received.
Sets the Instance slot's local roation when an impulse is received.


=== Instance (Slot) ===
=== Instance ([[Slot]]) ===


The slot whose local rotation is set. Default is null, the node does not function without this input.
The slot whose local rotation is set. Default is null, the node does not function without this input.


=== Rotation (floatQ) ===
=== Rotation ([[Type:floatQ|floatQ]]) ===


The local rotation the input Instance slot is set to. Default is [0;0;0].
The local rotation the input Instance slot is set to. Default is [0;0;0].

Latest revision as of 13:54, 28 May 2024

Set Local Rotation
*
Next
Instance
Rotation
Transform

The Set Local Rotation node sets the input slot's rotation to the provided floatQ value in local coordinate space.

Inputs

* (Call)

Sets the Instance slot's local roation when an impulse is received.

Instance (Slot)

The slot whose local rotation is set. Default is null, the node does not function without this input.

Rotation (floatQ)

The local 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.