Commit Graph

3194 Commits

Author SHA1 Message Date
JohnCorby
027c772b26 update bundle (make active things that used to be enabled in the player/probe/tool creator methods) 2022-02-17 17:37:56 -08:00
JohnCorby
004a63152c GetPrefab and ShaderReplacer 2022-02-17 17:31:38 -08:00
JohnCorby
02491121a4 more removal of SetActive 2022-02-17 17:19:23 -08:00
JohnCorby
29deb21867 QSBTool: making dithering animator private, and include inactive renderers 2022-02-17 17:03:15 -08:00
JohnCorby
6fbf63ce3b rename, move stuff into creation methods, generally prepare for switch 2022-02-17 16:58:51 -08:00
Mister_Nebula
fd2e16972b disable FixMaterialsInAllChildren 2022-02-17 15:44:21 +00:00
JohnCorby
2173981e83 PlayerToolsManager: use player.PlayerId instead of player 2022-02-17 04:56:52 -08:00
JohnCorby
7207211454 JoinLeaveSingularity: use Try, and nicer logging 2022-02-17 04:55:43 -08:00
JohnCorby
2c51ec4a36 tweak 2022-02-17 04:43:57 -08:00
JohnCorby
709cc4c905 JoinLeaveSingularity: make static instead of using MonoBehaviour 2022-02-17 04:10:13 -08:00
JohnCorby
a85efa403c JoinLeaveSingularity: cancel task on object destroy 2022-02-17 04:04:15 -08:00
JohnCorby
3dac89fd24 baba booey 2022-02-17 02:28:33 -08:00
JohnCorby
ccc0e7a0be basically perfect 2022-02-17 02:15:43 -08:00
JohnCorby
0e21e6fc3e Merge branch 'dev' into join-leave-singularity 2022-02-16 23:54:11 -08:00
JohnCorby
140fefe475 more stuff 2022-02-16 23:54:01 -08:00
JohnCorby
1cd5484128 RemotePlayerCreation: dont wait a frame before initing DitheringAnimator 2022-02-16 23:50:32 -08:00
JohnCorby
f3ec0e8abb Merge branch 'dev' into join-leave-singularity 2022-02-16 23:15:41 -08:00
JohnCorby
0d0c31de2f QSBQuantumObject: first player in player list is always the host 2022-02-16 23:14:49 -08:00
JohnCorby
45410c87e6 JoinLeaveSingularity: use async task instead of MonoBehaviour 2022-02-16 23:08:44 -08:00
JohnCorby
d578daa93d Merge branch 'dev' into join-leave-singularity 2022-02-16 23:05:25 -08:00
JohnCorby
fdb9b40c2f ProxyInjector: include mod dir as search directory 2022-02-16 23:04:53 -08:00
JohnCorby
b2d60eb024 Merge branch 'dev' into join-leave-singularity
# Conflicts:
#	QSB/Player/QSBPlayerManager.cs
#	QSB/SectorSync/QSBSectorDetector.cs
#	QSB/Utility/Extensions.cs
2022-02-16 21:52:59 -08:00
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 01e1acfc0f.
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