3472 Commits

Author SHA1 Message Date
JohnCorby
c233fb546b SetReferenceTransform: check for AttachedTransform notnull 2022-02-16 21:50:39 -08:00
JohnCorby
7194140891 use distance change threshold to change rotation as well 2022-02-16 21:46:16 -08:00
JohnCorby
a32c0ce166 SyncBase: rename leeway variables 2022-02-16 21:22:04 -08:00
JohnCorby
b23c5ac1aa SyncBase: oops on interpolation, and dont return after SafeUninit 2022-02-16 20:45:49 -08:00
JohnCorby
43b4d2888b comment 2022-02-16 20:21:34 -08:00
JohnCorby
d53735f160 transform sync: be consistent with position/rotation change threshold 2022-02-16 20:21:34 -08:00
JohnCorby
2a7d4ad97f QuaternionHelper: format lol 2022-02-16 20:21:34 -08:00
JohnCorby
adb039d34e SyncBase: also do smart smoothing for rotation 2022-02-16 20:21:34 -08:00
JohnCorby
70d767c706 PlayerTransformSync: check for null ReferenceTransform 2022-02-16 19:44:17 -08:00
JohnCorby
b3ed3ec7d9 SyncBase: only base.Update after GetFromAttached 2022-02-16 19:36:13 -08:00
JohnCorby
9e5e7bb6a1 initial state:
- always send from the host
- QSBNetworkBehaviour will store last known data in an array and send that, since real data will be wrong if no authority
2022-02-16 19:22:21 -08:00
JohnCorby
2f6b67845a QSBNetworkBehaviour: remove unneeded check 2022-02-16 18:40:38 -08:00
JohnCorby
2761d463e1 QSBSectorDetector: improve 2022-02-16 18:27:45 -08:00
JohnCorby
e119920db9 cache ReferenceTransform.GetAttachedOWRigidbody() into ReferenceRigidbody 2022-02-16 18:14:40 -08:00
JohnCorby
6fb47ffd35 QSBWorldSync: check _cts == null after awaiting tasks, since that means it's been cancelled so we should stop stop working 2022-02-16 18:14:40 -08:00
JohnCorby
83bec7b75f optimization: MinBy and MaxBy instead of sorting 2022-02-16 18:14:40 -08:00
JohnCorby
c71641cd90 Revert "QSBWorldSync: simplify async"
This reverts commit 01e1acfc0f425062ed706221b268fa39da0613da.
2022-02-16 00:55:42 -08:00
JohnCorby
b078d68ddc temporarily disable singularity effect 2022-02-15 21:07:46 -08:00
JohnCorby
9e8e22f8cf optimization: MinBy and MaxBy instead of sorting 2022-02-15 20:56:16 -08:00
JohnCorby
482326edb1 Merge branch 'dev' into join-leave-singularity 2022-02-15 15:27:36 -08:00
Mister_Nebula
76593a11bf Merge branch 'dev' of https://github.com/misternebula/quantum-space-buddies into dev 2022-02-15 16:54:53 +00:00
Mister_Nebula
9be2eb8094 update item stuff 2022-02-15 16:54:50 +00:00
JohnCorby
6cfd74ef7a happyness 2022-02-15 02:56:38 -08:00
JohnCorby
ad85a04b08 juust right 2022-02-15 02:50:14 -08:00
JohnCorby
d661ee747b guh 2022-02-15 02:48:15 -08:00
JohnCorby
4112ee3c91 IT WORKSSSSSSSSSSSSSSSSS 2022-02-15 02:46:31 -08:00
JohnCorby
0f508e9d53 yeah this is going somewhere kinda 2022-02-15 01:29:25 -08:00
JohnCorby
99fa5c698b holy crap its sorta working 2022-02-15 00:28:24 -08:00
JohnCorby
af0981b1d2 QSBNetworkManager: ACTUALLY dont do authority reversion if we are the host 2022-02-15 00:01:00 -08:00
JohnCorby
1209151df2 QSBNetworkManager: ACTUALLY dont do authority reversion if we are the host 2022-02-15 00:00:22 -08:00
JohnCorby
76458bed4b guh 2022-02-14 23:35:23 -08:00
JohnCorby
9472a3708f this is still too complicated 2022-02-14 23:14:31 -08:00
JohnCorby
e6194d624a simplify a whole bunch 2022-02-14 23:14:28 -08:00
JohnCorby
01e1acfc0f QSBWorldSync: simplify async 2022-02-14 23:14:20 -08:00
JohnCorby
4680911cac join/leave singularity 2022-02-14 18:07:36 -08:00
JohnCorby
a3ab23395f Revert "better meteor patches"
This reverts commit 7c57b1b69d92976182ea2b1ed3bcf4164e5d8857.
2022-02-14 15:25:43 -08:00
JohnCorby
6ce6b7cec3 Revert "extra check"
This reverts commit befeb84f629ec139b61e9128b1bb84003cc071e9.
2022-02-14 15:25:42 -08:00
JohnCorby
befeb84f62 extra check 2022-02-14 15:19:33 -08:00
JohnCorby
7c57b1b69d better meteor patches 2022-02-14 15:16:25 -08:00
Mister_Nebula
6d5f4b4807 remove instrument/taunt stuff 2022-02-14 21:44:38 +00:00
Mister_Nebula
25c6ce5ae1 Update AnimationSync.cs 2022-02-14 21:25:24 +00:00
Mister_Nebula
358ebb16ee Update network 2022-02-14 08:08:28 +00:00
JohnCorby
f406e61da0 copy over debug symbols to unity project too, just in case we ever want to debug in editor 2022-02-13 21:36:35 -08:00
JohnCorby
ae45805172 QSBReaderWriterProcessor: improve a bit 2022-02-13 19:45:29 -08:00
JohnCorby
e324fed48e goof 2022-02-13 18:25:19 -08:00
JohnCorby
8d357f2642 dont optimize Debug builds so we can get correct line numbers 2022-02-13 18:16:54 -08:00
JohnCorby
80e84251eb GetPlayerId: use {conn} instead of {conn.address} 2022-02-13 18:04:25 -08:00
JohnCorby
c3c2665cf2 update Mirror 2022-02-13 18:01:25 -08:00
JohnCorby
19d8a978a3 Revert "proxy injector: ctors already have void return type"
This reverts commit e9e448cbdc4092d0ca1476cca69d5c815b4a42cb.
2022-02-13 17:51:53 -08:00
JohnCorby
8e04eca8bc QSBNetworkManager: dont do authority reversion if we are the host, since it wont matter anyway and just causes errors 2022-02-13 17:27:40 -08:00