PRIM FLEXIBLE/ja
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
解説
定数: integer PRIM_FLEXIBLE = 21;integer 定数 PRIM_FLEXIBLE の値は 21 です。
この定数を使用して、プリムの フレキシブルパス設定 を取得設定します。
llSetPrimitiveParams
[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]• integer | boolean | – | TRUE ならば有効 、 FALSE ならば無効 | |
• integer | softness | – | 0 ~ 3 | |
• float | gravity | – | -10.0 ~ 10.0 | |
• float | friction | – | 0.0 ~ 10.0 | |
• float | wind | – | 0.0 ~ 10.0 | |
• float | tension | – | 0.0 ~ 10.0 | |
• vector | force |
llSetPrimitiveParams や llSetLinkPrimitiveParams と一緒に使用された場合
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_FLEXIBLE ]);Returns the list [ integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
• integer | boolean | – | TRUE ならば有効 、 FALSE ならば無効 | |
• integer | softness | – | 0 ~ 3 | |
• float | gravity | – | -10.0 ~ 10.0 | |
• float | friction | – | 0.0 ~ 10.0 | |
• float | wind | – | 0.0 ~ 10.0 | |
• float | tension | – | 0.0 ~ 10.0 | |
• vector | force |