Skip to content

NetTransform

Denis Totmin edited this page Jul 12, 2022 · 1 revision

NetTransform

  • the class describing the position of the entity in space

Properties

bool AutoApplyRemoteTransform - automatically apply the coordinates obtained from the object owner (for authoritarian models it is necessary to specify false)

GalaxyVector3 position - position in space

GalaxyQuaternion rotation - rotation in space

NetEntityAutoSync SyncType - type of automatic synchronization


Methods

void ApplyRemoteTransform() - Apply the transform values received from the client within the current frame. (If autoApplyRemoteTransform = true, it is called automatically)

void ForceSync() - Forced to send the full state of the transform. (usually a delta is sent)


The page was edited with the current kernel version 0.9.8

Clone this wiki locally