Skip to main content

PhysicsSerializationSettings

A static class in Root.Township, Alta.Networking.

Limits and precision used when packing physics values (velocity, angular velocity, scale) into network messages.

Fields​

MemberWhat it is
static readonly float AngularVelocityMaxLargest angular velocity per axis that can be sent (325).
static Vector3 AngularVelocityMaxVectorAngularVelocityMax on every axis.
static Vector3 AngularVelocityMinVectorNegative AngularVelocityMax on every axis.
const float AngularVelocityPrecisionStep size for packed angular velocity (0.01).
const float MaximumScaleLargest scale that can be sent (10).
const float ScaleResolutionStep size for packed scale (0.01).
static readonly float VelocityMaxLargest velocity per axis that can be sent (100).
static Vector3 VelocityMaxVectorVelocityMax on every axis.
static Vector3 VelocityMinVectorNegative VelocityMax on every axis.
const float VelocityPrecisionStep size for packed velocity (0.01).