setBodyPose method

void setBodyPose(
  1. int body,
  2. Vec3 position,
  3. Quat rotation
)

Puts a body somewhere at once (a teleport), and wakes it.

Implementation

void setBodyPose(int body, Vec3 position, Quat rotation) {
  _writePose(position, rotation);
  _check(fp_body_pose_set(_live, body, _pose.ref));
}