Version: 2020.1
public void TeleportRoot (Vector3 position, Quaternion rotation);

参数

position The new position of the root articulation body.
rotation The new orientation of the root articulation body.

描述

Teleport the root body of the articulation to a new pose.

Articulations are immutable once created, so it's not possible to change positions, orientations or velocities of the articulation bodies. However, in case of the root body of the articulation, you can still move it with this function. Has to be called with the root body of an articulation.