ProtoFlux:Set Global Rotation: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
m Fix copy paste errors
Line 20: Line 20:
=== * ([[Impulses|Call]]) ===  
=== * ([[Impulses|Call]]) ===  


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


=== Instance (Slot) ===
=== Instance (Slot) ===
Line 34: Line 34:
=== Next ([[Impulses|Continuation]]) ===
=== Next ([[Impulses|Continuation]]) ===


An impulse is fired whenever the Instance slot's position and rotation are set after the node receives an impulse. No impulse is fired from this output if the Instance input is null.
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]]

Revision as of 05:38, 25 May 2024

Set Global Rotation
*
Next
Instance
Rotation
Wiki

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 position and rotation are 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.