Attempts to resist rolling motion of a vehicle.
Inheritance: ISolverSettings
Exemplo n.º 1
0
 /// <summary>
 /// Constructs a new wheel.
 /// </summary>
 /// <param name="shape">Shape of the wheel.</param>
 /// <param name="suspension">Springy support of the vehicle.</param>
 /// <param name="motor">Driving force for the wheel.</param>
 /// <param name="rollingFriction">Friction force resisting the forward and backward motion of the wheel.</param>
 /// <param name="slidingFriction">Friction force resisting the side to side motion of the wheel.</param>
 public Wheel(WheelShape shape, WheelSuspension suspension, WheelDrivingMotor motor, WheelBrake rollingFriction, WheelSlidingFriction slidingFriction)
 {
     Suspension           = suspension;
     DrivingMotor         = motor;
     Brake                = rollingFriction;
     this.SlidingFriction = slidingFriction;
     Shape                = shape;
 }
Exemplo n.º 2
0
Arquivo: Wheel.cs Projeto: rc183/igf
 /// <summary>
 /// Constructs a new wheel.
 /// </summary>
 /// <param name="shape">Shape of the wheel.</param>
 /// <param name="suspension">Springy support of the vehicle.</param>
 /// <param name="motor">Driving force for the wheel.</param>
 /// <param name="rollingFriction">Friction force resisting the forward and backward motion of the wheel.</param>
 /// <param name="slidingFriction">Friction force resisting the side to side motion of the wheel.</param>
 public Wheel(WheelShape shape, WheelSuspension suspension, WheelDrivingMotor motor, WheelBrake rollingFriction, WheelSlidingFriction slidingFriction)
 {
     Suspension = suspension;
     DrivingMotor = motor;
     Brake = rollingFriction;
     this.SlidingFriction = slidingFriction;
     Shape = shape;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs a new wheel.
 /// </summary>
 /// <param name="shape">Shape of the wheel.</param>
 public Wheel(WheelShape shape)
 {
     slidingFriction = new WheelSlidingFriction(this);
     brake           = new WheelBrake(this);
     suspension      = new WheelSuspension(this);
     drivingMotor    = new WheelDrivingMotor(this);
     Shape           = shape;
 }
Exemplo n.º 4
0
Arquivo: Wheel.cs Projeto: rc183/igf
 /// <summary>
 /// Constructs a new wheel.  The WheelSlidingFriction, WheelBrake, WheelSuspension, and WheelDrivingMotor should be configured prior to using this wheel.
 /// </summary>
 /// <param name="shape">Shape of the wheel.</param>
 public Wheel(WheelShape shape)
 {
     slidingFriction = new WheelSlidingFriction(this);
     brake = new WheelBrake(this);
     suspension = new WheelSuspension(this);
     drivingMotor = new WheelDrivingMotor(this);
     Shape = shape;
 }