PhysicsMgr
:createCapsuleGhost
機能
カプセルタイプゴーストの作成
構文
createCapsuleGhost(
"name"
,
mgVector3
,
mgQuaternion, mgVector3
,
radius
,
height
)
引数
"name"
文字列。名前。
mgVector3
位置。
mgQuaternion
回転。
mgVector3
カプセル形状の方向軸。X方向(1,0,0)、Y方向(0,1,0)、Z方向(0,0,1)
radius
カプセルの半径。
height
カプセルの高さ。
戻り値
Ghostオブジェクト。
説明
カプセルタイプのGhostオブジェクトを作成します。