Commit Graph

87 Commits

Author SHA1 Message Date
JohnCorby
99cf46a23f RigidbodySync.GetFromAttached: store AttachedRigidbody.GetPosition() in local var 2022-03-11 01:06:34 -08:00
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
9ad2568499 add interpolation back 2022-02-25 23:18:52 -08:00
JohnCorby
9548ea6d87 Sync: get from attached before checking HasChanged, and apply to attached after deserializing 2022-02-25 23:18:52 -08:00
JohnCorby
c8d2967e20 comment 2022-02-25 23:18:49 -08:00
JohnCorby
3a155a6319 player objects: just set non-local position/rotation like the rest of em 2022-02-25 23:18:49 -08:00
JohnCorby
182678c4bc solution wide: use file-scoped namespace 2022-02-25 23:18:46 -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
e119920db9 cache ReferenceTransform.GetAttachedOWRigidbody() into ReferenceRigidbody 2022-02-16 18:14:40 -08:00
JohnCorby
00a81f7bd9 SyncBase.Uninit: don't set stuff to null 2022-02-02 22:42:41 -08:00
Mister_Nebula
1991c681eb cleanup qsb 2022-01-31 14:23:50 +00: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
03cc8a84a0 null check in InitAttachedRigidbody 2022-01-25 03:04:39 -08:00
JohnCorby
ba5defecbd make rigidbody syncs still valid even if suspended 2022-01-21 23:13:48 -08:00
JohnCorby
40b5e45009 use parenting for player objects 2022-01-21 19:09:43 -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
027c600782 suspended objects are not valid, also don't print errors when orb is destroyed 2022-01-21 17:35:56 -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
JohnCorby
c3422177ab simplify ReferenceTransform check 2022-01-20 22:40:28 -08:00
JohnCorby
573ee72d86 use OnStopClient instead of OnDestroy 2022-01-18 15:06:45 -08:00
JohnCorby
dba1e3a0da use OnStartClient instead of Start 2022-01-18 12:19:58 -08:00
JohnCorby
cd9db24dd8 tweak 2022-01-16 07:56:08 -08:00
JohnCorby
0dce0c62be oops again 2022-01-16 07:42:46 -08:00
JohnCorby
98cee2ede4 oops 2022-01-16 07:32:49 -08:00
JohnCorby
0912b6cee0 merge de/ser again, just make sure that it doesnt mess with anything (ie store and defer to getfrom/applytoattached 2022-01-16 07:23:35 -08:00
JohnCorby
7f1c6ea6c8 split up UpdateTransform + refactor 2022-01-16 06:53:45 -08:00
JohnCorby
1f4c06561b zoinks 2022-01-16 06:11:44 -08:00
JohnCorby
5b8f51afdd major simplify BaseSectoredSync 2022-01-16 05:45:47 -08:00
JohnCorby
6d130b89eb rename 2022-01-16 04:52:48 -08:00
JohnCorby
1b60a18eac call base in ser/deser 2022-01-16 04:51:37 -08:00
JohnCorby
76147d91e5 tweak SyncBase 2022-01-16 04:34:52 -08:00
JohnCorby
1d2764f09f split into initial state de/ser and regular de/ser 2022-01-16 01:58:47 -08:00
JohnCorby
85927c2e9d remove old syncbase and friends 2022-01-14 22:39:41 -08:00
JohnCorby
9df532fb1b syncbase and friends 2022-01-14 20:59:42 -08:00
JohnCorby
71f7a8f7a8 fix nre 2022-01-14 00:05:29 -08:00
JohnCorby
533c7dae64 remove Player == null checks 2022-01-07 15:38:22 -08:00
JohnCorby
b79cea5254 remove SyncBase.PlayerId 2022-01-07 15:36:31 -08:00
JohnCorby
e00aa13461 make getting world object from id or unity object an extension method (and rename) 2021-12-25 22:45:25 -08:00
JohnCorby
801e56063c SmoothPosition and SmoothRotation 2021-12-18 14:42:15 -08:00
JohnCorby
93274af6e5 remove reparenting transform sync 2021-12-18 14:25:12 -08:00
JohnCorby
c9d2dfd733 fix 2021-12-18 12:47:37 -08:00
JohnCorby
07caf6129b Merge branch 'dev' into orb-overhaul
# Conflicts:
#	QSB/SectorSync/QSBSectorManager.cs
#	QSB/Syncs/Sectored/BaseSectoredSync.cs
2021-12-18 12:46:38 -08:00
JohnCorby
e8b219164f more cleanup 2021-12-18 12:08:26 -08:00
Mister_Nebula
82d5e1ee91 aaa 2021-12-18 10:33:18 +00:00
JohnCorby
83e6d26f44 revert sector sync, since there's a bug in dev 2021-12-17 21:34:43 -08:00