Vixen
02b45cc4
csharp
public sealed class NetworkTransformApplySystem

Copies what the network received into the engine's transform.

No guide page documents this yet — the page shows what the code says about itself.

As a system

Phase
FixedUpdate

Remarks

The client half of NetworkTransformCaptureSystem. Runs on a peer that receives transforms rather than publishing them, and it is the only thing that should be writing those entities' transforms — see that type's remarks for what happens when both directions run at once.

Scale is deliberately not touched. NetworkTransform carries a position and a rotation and no scale, because scale changes rarely and belongs in a [Replicated] component of the game's own when it changes at all — putting it on the wire for every object every tick to serve the few that resize is the trade doc 16 makes for the position too, in the other direction. A local scale set by a prefab therefore survives, which is what anyone would expect.

Fields and properties (2)

  • public SystemAccess Access

    What this system reads and writes.

  • public long AppliedCount

    How many transforms have been applied.

Methods (2)

Used by (1)

  • NetworkTransformBridgeTestsVixen.Net.Engine.Tests