PRIM PHYSICS SHAPE TYPE/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_PHYSICS_SHAPE_TYPE = 30;integer 定数 PRIM_PHYSICS_SHAPE_TYPE の値は 30 です。
物理エンジンで使われるオブジェクトの形状タイプを設定するために使われます。
llSetPrimitiveParams
[ PRIM_PHYSICS_SHAPE_TYPE, integer type ]• integer | type | – | PRIM_PHYSICS_SHAPE_* flag |
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_PHYSICS_SHAPE_TYPE ]);typeフラグ | 値 | 説明 | ノート | ||||
---|---|---|---|---|---|---|---|
PRIM_PHYSICS_SHAPE_PRIM | 0 | ノーマルプリム形状の物理に使います | メッシュでないオブジェクトのデフォルト値です | ||||
PRIM_PHYSICS_SHAPE_CONVEX | 2 | プリムの凸包形状の物理に使います | メッシュオブジェクトのデフォルト値です | ||||
PRIM_PHYSICS_SHAPE_NONE | 1 | プリムの物理形状を無視します | これをルートプリム、アバターに適用することはできません
このプリムは、他のオブジェクトやアバターが衝突せずに通り抜けます("ファントム"のように) |
関連記事
特記事項
経緯
- Introduced in Second Life RC LeTigre 11.09.09.240509, September 9, 2011
- SLUniverse:Future physics functions tease