Repository navigation
API Variable ConnectionPlayer
const ConnectionPlayer: DataComponentDef<{
index: ScalarType<"i32">;
}>;Defined in: src/engine/input/inputNet.ts:39
On a networked pawn: which of its owning connection's local players drives it (ADR 0337), for a
client that sends several local players' actions over one connection (local co-op online). The
server writes that player's actions into the pawn's action sets. Without it, player 0: a
single-player client needs nothing. The owning connection is Replicated.ownerId's, as before.
It's a separate component from ControlledBy, which names a player of the World's own (a host's
local players), so a host never copies its own players' actions onto a remote client's pawn.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference