using Microsoft.Xna.Framework;
using BulletMMD.BulletDynamics.Dynamics;

namespace MikuMikuDance.XNA.Stages
{
    /// <summary>
    /// 地面。Bullet未実装のため現在クラスだけ作った状態
    /// </summary>
    class MMDGroundObject
    {
    //    public RigidBody body { get; protected set; }
    //    public CollisionShape collision { get; protected set; }

        public MMDGroundObject(float GroundHeight, btDiscreteDynamicsWorld world)
        {
    //        //地面の衝突スキンを作成
    //        //DefaultMotionState motionState = new DefaultMotionState(Matrix.CreateTranslation(-50,0,-50), Matrix.Identity);
    //        DefaultMotionState motionState = new DefaultMotionState();
    //        collision = new StaticPlaneShape(new Vector3(0, 1, 0), GroundHeight);
    //        //collision = new BoxShape(new Vector3(100, 1, 100));
    //        //重さはゼロ、イナーシャもゼロ
    //        body = new RigidBody(0.0f, motionState, collision, Vector3.Zero, 0.0f, 0.0f, 0.0f, 0.0f);
    //        //body.CollisionFlags = CollisionOptions.StaticObject;
    //        world.AddRigidBody(body);
            
        }
    }
}
