📅  最后修改于: 2022-03-11 14:49:04.306000             🧑  作者: Mango
public WheelCollider wheelCollider;
public Transform wheelModel;
void Update()
{
Vector3 wheelPosition;
Quaternion wheelRotation;
wheelCollider.GetWorldPose(out wheelPosition, out wheelRotation);
wheelModel.position = wheelPosition;
wheelModel.rotation = wheelRotation;
}