IFluxLocalPlayer
csharp
public interface IFluxLocalPlayerNamespace NodeWorld.SDK.Client.Flux.
The local player, as the FL# scripts of the world see it.
Properties
Controller
csharp
IPlayerController Controller { get; }The controller of the player's rig; null while there is none.
AvatarRig
csharp
NWFullBodyAvatarRig AvatarRig { get; }The full-body rig of the local avatar, drawn with its head by the cameras that show it (mirrors); null without one.
Controls
csharp
NWPlayerControls Controls { get; }What the world may change of the player's locomotion, seats, input and haptics; null when the rig has none.
Language
csharp
string Language { get; }The language of the client ("fr", "en"...).
Methods
Respawn
csharp
void Respawn()Brings the player back to the spawn point.
TryGetBone
csharp
bool TryGetBone(int syncedBone, out Vector3 position, out Quaternion rotation)A bone of the local avatar (index in the protocol's shared bones, SyncedBoneLayout), world space.
Events
LanguageChanged
csharp
event Action LanguageChangedThe player changed the language of the client.
Respawned
csharp
event Action RespawnedThe player was brought back to the respawn point (fell under the world's respawn height, or Respawn).
