
|
Logics
|
Per
Second |
本範例中的兩個Boxes分別由不同的方式控制使其產生轉動,均可以控制其轉動速度、旋轉的軸向等。 |
(a)
Set As Active Camera-Cameras/Montage/Set As Active Camera
|
(b) Text Display-Interface/Text/Text Display |
(c) Switch On Key-Controllers/Keyboard/Switch On Key |
(d)
Rotate-3D Transformations/Basic/Rotate |
(e)
Deactivate Script-Narratives/Script Management/Deactivate
Script |
(f)
Activate Script-Narratives/Script Management/Activate
Script |
(g)
Per Second-Logics/Calculator/Per Second |
利用Building
Blocks-Deactivate Script和Activate Script來選擇Box;再使用Building
Blocks-Rotate,或是Per Second配合Rotate使Boxes產生旋轉的效果。 |

Set
As Active Camera:設定現在所使用的Camera。
|
Text
Display:文字說明。 |
Switch On Key:設定控制鍵分別為'8'、'2'、'4'、'6'。 |
Rotate:設定旋轉軸Axis of Rotation-分別為X軸(1, 0, 0)、-X軸(-1,
0, 0)、Y軸(0, 1, 0)、-Y軸(0, -1, 0);設定旋轉角度值Angle of
Rotation(Turn:圈數、Degree:角度);設定Referential of the
Axis-設定'-NULL-'或'Box02'均可(如圖示);勾選Hierarchy表示Building
Blocks也同樣應用在Child。 |

Switch
On Key:設定控制鍵分別為'Del'、'0'。 |
Deactivate Script:當按下控制鍵'Del'時中斷Script-Box02 Script,按下控制鍵'0'時同理。 |
Activate Script:當按下控制鍵'Del'時啟動Script-Box01 Script,勾選True表示Script會執行Reset,不勾選表示Script會依照原來的狀態,例如Deactivate狀態,按下控制鍵'0'時同理。
|

Switch
On Key:設定控制鍵分別為'8'、'2'、'4'、'6'。
|
T X(pIn) * Elapsed Time = Y(pOut) Rotate:設定旋轉軸Axis
of Rotation-分別為X軸(1, 0, 0)、-X軸(-1, 0, 0)、Y軸(0,
1, 0)、-Y軸(0, -1, 0);且由pIn輸入旋轉角度值Angle of Rotation(Turn:圈數、Degree:角度);設定Referential
of the Axis-設定'-NULL-'或'Box01'均可(如圖示);勾選Hierarchy表示Building
Blocks也同樣應用在Child。 |
Per
second:設定1秒鐘所旋轉的角度值X(Turn:圈數;Degree:角度),乘上一個Frame所花費時間,在pOut輸出變數Y
(旋轉角度值)。 |
|
|

|
 |