예제 #1
0
 /// <summary>
 /// Constructs a new PhysicsGroup with the specified values.
 /// </summary>
 /// <param name="ID"></param>
 /// <param name="type"></param>
 /// <param name="frictionValue"></param>
 public PropertySet(string physicsGroupID, PropertySetCollider collider, int friction, float mass = 0.0f)
 {
     PropertySetID = physicsGroupID;
     Collider      = collider;
     Friction      = friction;
     Mass          = mass;
 }
예제 #2
0
 /// <summary>
 /// Constructs a new PhysicsGroup with the specified values.
 /// </summary>
 /// <param name="ID"></param>
 /// <param name="type"></param>
 /// <param name="frictionValue"></param>
 public PropertySet(string physicsGroupID, PropertySetCollider collider, int friction, float mass = 0.0f)
 {
     this.PropertySetID = physicsGroupID;
     this.Collider      = collider;
     this.Friction      = friction;
     this.Mass          = mass;
 }