Vixen
02b45cc4
csharp
public struct NetworkTeleport

This entity moved discontinuously, and nothing may interpolate across it.

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

Remarks

A respawn, a portal, a cutscene cut. Without it the receiving client draws the entity sliding across the level at whatever speed the gap implies, over the interpolation delay — which reads as the netcode being broken rather than as a teleport.

A tag rather than a flag on NetworkTransform, because the entity that teleported is the one that knows, and it knows for one tick. The bridge turns it into the counter the wire carries and takes it off again, so nothing has to remember to clear it.

Used by (3)

  • NetworkRigidBodyCaptureSystemVixen.Net.Physics
  • NetworkTransformBridgeTestsVixen.Net.Engine.Tests
  • NetworkTransformCaptureSystemVixen.Net.Engine