mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
df6a241d19
* NetworkTransform smart sync. Checks if pos/rot/scale changed, if not, sends the value as null (1byte) So if someone has rotation and position turned on, but just rotates around Y, they save almost an entire pointless Vector3 position being sent. - Again, majority of credits to Ninja. * NetworkTransform smart sync. B Adjusted to default(Vector3?)/Quat as requested. Checks if pos/rot/scale changed, if not, sends the value as null (1byte) So if someone has rotation and position turned on, but just rotates around Y, they save almost an entire pointless Vector3 position being sent. - Again, majority of credits to Ninja. * NetworkTransform smart sync. C Line break added at end of file? as requested. Adjusted to default(Vector3?)/Quat as requested. Checks if pos/rot/scale changed, if not, sends the value as null (1byte) So if someone has rotation and position turned on, but just rotates around Y, they save almost an entire pointless Vector3 position being sent. - Again, majority of credits to Ninja. |
||
---|---|---|
.. | ||
Mirror | ||
ScriptTemplates | ||
Mirror.meta | ||
ScriptTemplates.meta |