Пример #1
0
        public void SetFixedRotation(bool fixedr)
        {
        }

        public void SetLinearDamping(float linearDamping)
        {
        }

        /// <summary>
Пример #2
0
 public override void ComputeMass(out B2MassData massData, float density)
 {
     massData = new B2MassData();
 }
Пример #3
0
 /// <summary>
 /// Compute the mass properties of this shape using its dimensions and density.
 /// The inertia tensor is computed about the local origin, not the centroid.
 /// </summary>
 /// <param name="massData">Returns the mass data for this shape</param>
 public abstract void ComputeMass(out B2MassData massData, float density);