setBodyPose abstract method

void setBodyPose(
  1. int body,
  2. Vector3 position,
  3. Quaternion rotation, {
  4. bool wake = true,
})

Teleports body. Static bodies are moved this way; kinematic bodies should use moveKinematic so what they touch is carried along.

Implementation

void setBodyPose(
  int body,
  Vector3 position,
  Quaternion rotation, {
  bool wake = true,
});