67 Commits

Author SHA1 Message Date
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
JohnCorby
5664b24730 cleaned sector sync 2021-12-13 21:00:53 -08:00
JohnCorby
4c535fd544 rename relative transform stuff 2021-12-13 16:02:31 -08:00
JohnCorby
5b2559c4ce correct lerping 2021-12-13 14:33:41 -08:00
JohnCorby
0806ee23b0 check for null ReferenceTransform 2021-12-13 14:28:08 -08:00
JohnCorby
b0e15fb557 SmartSmoothDamp for rotation 2021-12-13 13:33:18 -08:00
JohnCorby
adad302ba0 use proper pos/rot stuff 2021-12-13 13:26:54 -08:00
JohnCorby
b5f12796af make syncbase generic 2021-12-13 13:05:49 -08:00
Mister_Nebula
0bb136a68c stuffz 2021-12-12 10:03:33 +00:00
Mister_Nebula
2935d77ef5 fix ship 2021-12-12 10:02:19 +00:00
JohnCorby
078ac3b863 SectoredRigidbodySync: set transform.position to Vector3.zero if ReferenceTransform is null, like in SectoredTransformSync 2021-12-05 02:26:58 -08:00
JohnCorby
3d3ad0a22a Vector3.zero check (for null ref trans) was sometimes wrong, and sometimes even happened after accessing the null ref trans XD 2021-12-04 03:30:01 -08:00
Mister_Nebula
0bd60ddb68 rename variables, fix QSBOWItem (again) 2021-12-04 09:51:27 +00:00
JohnCorby
914a05916d removed world object bools from qsbcore since they're duplicates 2021-12-02 02:44:34 -08:00
Mister_Nebula
03f615525b cleanup 2021-11-25 15:32:34 +00:00
Mister_Nebula
d2e43827fa merge dev into some-cleanup 2021-11-22 14:29:54 +00:00
Mister_Nebula
8a27aefb44 remove PlayerState, add launch code event 2021-11-20 11:48:46 +00:00
JohnCorby
0fe6dce0db remove IntermediaryTransform 2021-11-19 01:01:51 -08:00
JohnCorby
495f814739 easier logging 2021-11-10 21:51:14 -08:00
JohnCorby
b351dd9109 deez nuts 2021-11-10 02:06:29 -08:00
JohnCorby
333f23d797 back to using custom SetVelocity 2021-11-10 02:03:21 -08:00