示例#1
0
        public virtual PhysicsInertiaData GetInertiaData()
        {
            PhysicsInertiaData data = new PhysicsInertiaData();

            data.TotalMass       = this.Mass;
            data.CenterOfMass    = CenterOfMass - Position;
            data.Inertia         = Vector3.Zero;
            data.InertiaRotation = Vector4.Zero;
            return(data);
        }
示例#2
0
 public virtual void SetInertiaData(PhysicsInertiaData inertia)
 {
 }