readBodyPose method

  1. @override
(Vector3, Quaternion) readBodyPose(
  1. int bodyHandle
)
override

Implementation

@override
(Vector3, Quaternion) readBodyPose(int bodyHandle) {
  final body = _bodies[bodyHandle]!;
  return (
    body.target.worldTranslation.clone(),
    body.target.worldRotation.clone(),
  );
}