SetPositionRotation

Method

Teleport the avatar to a new position and rotation. This is faster than setting the position and rotation separately.

Definition

void SetPositionRotation(Vector3 position, Quaternion rotation)
void SetPositionRotation(Vector3 position, Quaternion rotation)

Parameters

ParameterDescription
Vector3 position
Quaternion rotation