| NavigationTeleport Method |
Teleport the avatar to target position/rotation.
Note: This method can return null, in which case there was no coroutine created to do the teleport
Namespace:
ImmerseSDK.Avatars
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax Parameters
- position
- Type: UnityEngine.Vector3
Target position - rotation
- Type: SystemNullableUnityEngine.Quaternion
Target rotation - correctForPlaySpace
- Type: SystemBoolean
True to move the head to this position, otherwise false to move center of playspace - fade
- Type: SystemBoolean
Should it fade to black? If true, teleport happens on a coroutine, otherwise it's immediate - overideTeleport (Optional)
- Type: SystemBoolean
Set true to stop any current teleportation
Return Value
Type:
UnityEngine.CoroutineReturns coroutine if fade is enabled
See Also