Difference between revisions of "Axis Angle (LogiX node)/ja"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "Axis Angle (LogiXノード)")
 
(Updating to match new version of source page)
 
(7 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
}}
 
}}
  
The '''Axis Angle''' [[LogiX]] node converts a [[rotation]] represented as an [https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation axis-angle] to the native [https://en.wikipedia.org/wiki/Quaternion 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.
+
'''Axis Angle'''[[LogiX]] ノードは [https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation axis-angle] として表現された [[rotation]] をネイティブの [https://ja.wikipedia.org/wiki/%E5%9B%9B%E5%85%83%E6%95%B0 クォターニオン] 表現に変換するものである。最初の入力は回転させる軸で、2番目の入力は軸を中心に時計回り(正)または反時計回り(負)に回転させる角度を度単位で指定します。
  
== 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:
+
ここでは、ドアのヒンジ側にDoor Pivotの子を配置しています。Axis Angle ノードの出力(同じくクォータニオン)を使用して、Door Pivot オブジェクトの Rotation プロパティ(クォータニオン)をドライブすることができます。ここでは、Y 軸 (緑色の軸) を中心とした回転と、0 度の回転を指定しています。
  
 
[[File:Axis Angle Example 0 degrees.jpg|800px]]
 
[[File:Axis Angle Example 0 degrees.jpg|800px]]
  
By changing the rotation amount to -60 degrees, we rotate the object 60 degrees counterclockwise.
+
回転量を「-60度」にすると、反時計回りに60度回転させることができます。
  
 
[[File:Axis Angle Example -60 degrees.jpg|800px]]
 
[[File:Axis Angle Example -60 degrees.jpg|800px]]
  
== Node Menu ==
+
== ノードメニュー ==
  
  
 
[[Category:LogiX{{#translation:}}|Axis Angle Float Q]]
 
[[Category:LogiX{{#translation:}}|Axis Angle Float Q]]
 
[[Category:LogiX:Math:Rotation{{#translation:}}|Axis Angle Float Q]]
 
[[Category:LogiX:Math:Rotation{{#translation:}}|Axis Angle Float Q]]
{{NodeMenu-Math-Rotation{{#translation:}}}}
+
{{NodeMenu-Math-Rotation}}

Latest revision as of 16:34, 19 February 2022

Other languages:
English • ‎日本語
Axis Angle
'Axis Angle Float Q' LogiX node
Inputs
  Float3 Axis
  Float Angle
Outputs
  FloatQ *

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

使用方法

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

ここでは、ドアのヒンジ側にDoor Pivotの子を配置しています。Axis Angle ノードの出力(同じくクォータニオン)を使用して、Door Pivot オブジェクトの Rotation プロパティ(クォータニオン)をドライブすることができます。ここでは、Y 軸 (緑色の軸) を中心とした回転と、0 度の回転を指定しています。

Axis Angle Example 0 degrees.jpg

回転量を「-60度」にすると、反時計回りに60度回転させることができます。

Axis Angle Example -60 degrees.jpg

ノードメニュー

Math / Rotation
Back Axis Angle Euler Angles From Euler From To Rotation Inverse Rotation Look Rotation
To Axis Angle