Axis Angle (LogiXノード)

From Neos Wiki
Revision as of 11:48, 13 February 2022 by Aesc (talk | contribs) (Created page with "== 例 ==")
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Axis Angle
'Axis Angle Float Q' LogiX node
Inputs
  Float3 Axis
  Float Angle
Outputs
  FloatQ *

Axis AngleLogiX ノードは axis-angle として表現された rotation をネイティブの クォターニオン 表現に変換するものである。最初の入力は回転させる軸で、2番目の入力は軸を中心に時計回り(正)または反時計回り(負)に回転させる角度を度単位で指定します。

使用方法

このノードを使用して、任意の軸に関する回転をクォターニオンに変換し、その後の計算で使用したり、オブジェクトの回転入力として使用することができます。

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