Click or drag to resize

AvatarSetLocation Method (Vector3, NullableQuaternion, Boolean)

Moves the avatar's to the specified position and rotation in worldspace. If correctForPlaySpace is TRUE, then the Avatar's head will appear at the location specified. If correctForPlaySpace is FALSE, then the play space's center will appear at the location specified

Namespace:  ImmerseSDK.Avatars
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public void SetLocation(
	UnityEngine.Vector3 position,
	Nullable<UnityEngine.Quaternion> rotation,
	bool correctForPlaySpace
)

Parameters

position
Type: UnityEngine.Vector3
rotation
Type: SystemNullableUnityEngine.Quaternion
correctForPlaySpace
Type: SystemBoolean

Implements

IAvatarSetLocation(Vector3, NullableQuaternion, Boolean)
IAvatarDataConsumerSetLocation(Vector3, NullableQuaternion, Boolean)
See Also