Axis Angle (LogiXノード)

From Neos Wiki
Revision as of 11:47, 13 February 2022 by Aesc (talk | contribs) (Created page with "Axis Angle (LogiXノード)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Axis Angle
'Axis Angle Float Q' LogiX node
Inputs
  Float3 Axis
  Float Angle
Outputs
  FloatQ *

The Axis Angle LogiX node converts a rotation represented as an axis-angle to the native quaternion representation. The first input is the axis about which to rotate, and the second input is the angle in degrees to rotate clockwise (positive) or counterclockwise (negative) about the axis by.

Usage

Use this node to convert rotation about an arbitrary axis into a quaternion which can then be used in further computations or used as an object's rotation input.

Examples

Here we have a door with a Door Pivot child placed on the hinge side of the door. We can drive the Door Pivot object's Rotation property (a quaternion) with the Axis Angle node's output (also a quaternion). We specify rotation about the Y axis (the green axis), and 0 degrees of rotation:

Axis Angle Example 0 degrees.jpg

By changing the rotation amount to -60 degrees, we rotate the object 60 degrees counterclockwise.

Axis Angle Example -60 degrees.jpg

Node Menu

Template:NodeMenu-Math-Rotation/ja