WheelDrivingMotor.cs:
/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return ForceAxis; }
}
should be:
/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return forceAxis; }
}
It should return the field not the property again.
/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return ForceAxis; }
}
should be:
/// <summary>
/// Gets the axis along which the driving forces are applied.
/// </summary>
public Vector3 ForceAxis
{
get { return forceAxis; }
}
It should return the field not the property again.