public enum NetworkTransformAxesWhich parts of a NetworkTransform are worth sending.
Remarks
A door that only rotates pays forty-eight bits a tick for a position that is the same number it was when the level loaded, and a lift that only rises pays thirty-two for a rotation. Naming the axes is what stops that.
This is a property of the replicator, not of the entity. Both ends have to agree about a lane layout before a single bit is decodable, and the delta codec's baselines are checked against one fixed width — so a mask that varied per entity would be a wire format that varied per entity, which nothing on either side could parse. A game with doors and players wanting different masks gives the doors a component of their own, exactly as NetworkTransform's own remarks say a game with a bigger world does.
Fields and properties (7)
NoneNothing. Refused by the replicator rather than accepted.
PositionXSend the X of the position.
PositionYSend the Y of the position.
PositionZSend the Z of the position.
PositionSend the whole position.
RotationSend the rotation.
AllEverything, which is what ships.
Used by (2)
- MotionTestsVixen.Net.Tests
- NetworkTransformReplicatorVixen.Net