09/05/06 21:01:35
>BoundingBoxをどのように記述したらいいのかわかりません。
の意味がわからない
//宣言
private Model model = null;
private BoundingSphere baseBoundingSphere = new BoundingSphere();
// モデルを作成
this.model = this.Content.Load<Model>("Sphere");
// 包括球取得
this.baseBoundingSphere = this.model.Meshes[0].BoundingSphere;
だとしたら”Sphere”を”Box”にして判定部分いじれば?