updateWheelTransformWorld method

void updateWheelTransformWorld(
  1. WheelInfo wheel
)

Implementation

void updateWheelTransformWorld(WheelInfo wheel){
  wheel.isInContact = false;
  final chassisBody = this.chassisBody;
  chassisBody.pointToWorldFrame(wheel.chassisConnectionPointLocal, wheel.chassisConnectionPointWorld);
  chassisBody.vectorToWorldFrame(wheel.directionLocal, wheel.directionWorld);
  chassisBody.vectorToWorldFrame(wheel.axleLocal, wheel.axleWorld);
}