Skip to main content

NetworkRigidbodySaveData

A internal class in Root.Township, Alta.Networking. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Save data for a NetworkRigidbody: its transform, motion and sleep state.

Constructors​

MemberWhat it is
NetworkRigidbodySaveData()Creates a NetworkRigidbodySaveData with default values.

Fields​

MemberWhat it is
Vector3 angularVelocitySaved angular velocity.
bool isKinematicWhether the body was kinematic.
bool isServerSleepingWhether the body was asleep on the server.
Vector3 positionSaved position.
Quaternion rotationSaved rotation.
Vector3 velocitySaved velocity.