255 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
adb039d34e SyncBase: also do smart smoothing for rotation 2022-02-16 20:21:34 -08:00
JohnCorby
b3ed3ec7d9 SyncBase: only base.Update after GetFromAttached 2022-02-16 19:36:13 -08:00
JohnCorby
e119920db9 cache ReferenceTransform.GetAttachedOWRigidbody() into ReferenceRigidbody 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
10471ee6c7 orbs: update auth queue since they're spawned with server authority 2022-02-12 21:27:22 -08:00
JohnCorby
438d3a3d0e set scale of parented SyncBase 2022-02-12 20:16:37 -08:00
JohnCorby
c1be2e4d22 pause timer if we fail to init or uninit 2022-02-08 14:36:47 -08:00
JohnCorby
bfafb9ea84 Revert "SyncBase: always set IsInitialized/IsValid when Init/Uninit, even when an exception happened"
This reverts commit f89000f7ac75af203e6b440ae480e8189344d2c7.
2022-02-03 00:03:25 -08:00
JohnCorby
f89000f7ac SyncBase: always set IsInitialized/IsValid when Init/Uninit, even when an exception happened 2022-02-02 22:44:40 -08:00
JohnCorby
00a81f7bd9 SyncBase.Uninit: don't set stuff to null 2022-02-02 22:42:41 -08:00
JohnCorby
c06cdb8906 organize DebugSettings 2022-02-02 22:00:49 -08:00
JohnCorby
b4bab95474 remove try/catch in SyncBase.Init, i promise you don't want this 2022-02-02 19:22:01 -08:00
Mister_Nebula
4b75ff81d3 update flashlight, signalscope and roasting stick 2022-02-02 11:58:00 +00:00
JohnCorby
aac9500746 leave my boolean cast :( 2022-02-01 14:05:12 -08:00
Mister_Nebula
64c5d5c43f move around occasional stuff 2022-02-01 09:05:37 +00:00
Mister_Nebula
01e798ff6a Merge branch 'dev' into echoes-of-the-eye 2022-01-31 22:44:53 +00:00
Mister_Nebula
1991c681eb cleanup qsb 2022-01-31 14:23:50 +00:00
Mister_Nebula
adbb052a92 Merge branch 'dev' into echoes-of-the-eye 2022-01-30 09:27:43 +00:00
JohnCorby
a3a2a41f59 fix SmartSmoothDamp 2022-01-29 02:54:45 -08:00
JohnCorby
13f5e2ebc3 - no more initial state for qsb network behaviours because it is dumb and i hate it
- spawn authqueue objects with no authority for real instead of with server authority
2022-01-27 03:15:52 -08:00
JohnCorby
65f71678a6 remove unneeded check 2022-01-27 02:15:42 -08:00
JohnCorby
28e28092de Merge branch 'dev' into vendor-compatibility 2022-01-25 21:17:27 -08:00
JohnCorby
8fbc946252 comment 2022-01-25 21:17:05 -08:00
JohnCorby
687e5fcdbd fix a dumb orb transform sync bug 2022-01-25 19:43:59 -08:00
JohnCorby
11cefff4f2 fix a dumb orb transform sync bug 2022-01-25 19:42:22 -08:00
JohnCorby
03cc8a84a0 null check in InitAttachedRigidbody 2022-01-25 03:04:39 -08:00
JohnCorby
a0691fb825 format 2022-01-23 00:31:56 -08:00
JohnCorby
5fd8cfe20c LogName -> ToString() 2022-01-23 00:29:59 -08:00
Mister_Nebula
00aa0c8037 Merge branch 'dev' into echoes-of-the-eye 2022-01-22 15:25:29 +00:00
JohnCorby
a848312eab bruh 2022-01-21 23:38:45 -08:00
JohnCorby
ba5defecbd make rigidbody syncs still valid even if suspended 2022-01-21 23:13:48 -08:00
JohnCorby
004478e296 tweak 2022-01-21 21:04:02 -08:00
JohnCorby
7f9cb3662f guh 2022-01-21 19:32:11 -08:00
JohnCorby
40b5e45009 use parenting for player objects 2022-01-21 19:09:43 -08:00
JohnCorby
1f6636065f add Name field to SyncBase 2022-01-21 18:00:02 -08:00
JohnCorby
74262ab8e0 make these sealed 2022-01-21 17:53:07 -08:00
JohnCorby
5b77d341fe move stuff from OnStopClient to Uninit 2022-01-21 17:51:26 -08:00
JohnCorby
bf4783a3dd guh 2022-01-21 17:44:12 -08:00
JohnCorby
027c600782 suspended objects are not valid, also don't print errors when orb is destroyed 2022-01-21 17:35:56 -08:00
JohnCorby
56589609d4 use IsValid to check if SyncBase is initialized but not updating 2022-01-21 17:24:54 -08:00
JohnCorby
83ed2cea08 replace _baseIsReady and IsReady with 1 CheckReady 2022-01-21 17:12:24 -08:00
JohnCorby
0eeaba4eb0 more simplifying 2022-01-21 16:52:30 -08:00
JohnCorby
cc4da03a9b Uninit for SectorSync, rename to QSBSectorDetector 2022-01-21 16:38:59 -08:00
JohnCorby
d6bed7e2da Uninit for SyncBase 2022-01-21 16:26:46 -08:00