Particle
:attachToEntity
機能
Entityにアタッチ
構文
attachToEntity(
Entity
,
"bone"
,
mgVector3
,
mgQuaternion
)
引数
Entity
Entityオブジェクト。
bone
文字列。ボーン名。
mgVector3
オフセット位置。
mgQuaternion
オフセット回転(クォータニオン)
戻り値
なし
説明
ParticleオブジェクトをEntityオブジェクトのボーンにくっつけます。
オフセット位置と回転を設定できます。
detatch
()で解除できます。