UxrManager.MoveAvatarTo Method (UxrAvatar, Single, Boolean)

Moves the avatar to a new floor level.

Namespace: UltimateXR.Core
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public void MoveAvatarTo(
	UxrAvatar avatar,
	float floorLevel,
	bool propagateEvents = true
)

Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
The avatar to move
floorLevel
Type: System.Single
The new floor level (Y)
propagateEvents (Optional)
Type: System.Boolean
Whether to propagate AvatarMoving/AvatarMoved events

See Also

Reference

UxrManager Class
MoveAvatarTo Overload
UltimateXR.Core Namespace