bodyPose method

(Vec3, Quat) bodyPose(
  1. int body
)

Where a body is now.

Implementation

(Vec3, Quat) bodyPose(int body) {
  _check(fp_body_pose_get(_live, body, _pose));
  final FpPose(:position, :rotation) = _pose.ref;
  return (Vec3(position.x, position.y, position.z), Quat(rotation.x, rotation.y, rotation.z, rotation.w));
}