170 Commits

Author SHA1 Message Date
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
2d6133002b get localplayer using transform sync 2022-01-07 15:28:33 -08:00
JohnCorby
b8fd43fda2 tweak 2022-01-07 15:23:46 -08:00
JohnCorby
6ecbfd7c63 remove rootidentity 2022-01-07 15:16:23 -08:00
JohnCorby
f66e89e8cc store player in syncbase 2022-01-07 15:08:20 -08:00
JohnCorby
8315bc3046 buh 2021-12-28 22:27:16 -08:00
JohnCorby
2222a8a286 fix huge lag on move
GUI.Label does not need width/height = GUILayoutUtility not needed = we can ignore EventType.Layout events
2021-12-28 22:24:52 -08:00
JohnCorby
292b49deb5 destroy debug actions/gui if we're not debugging 2021-12-28 21:25:25 -08:00
JohnCorby
742dea8c42 cleanup 2021-12-28 16:21:25 -08:00
Mister_Nebula
2c903f079a aaaaaaaaa 2021-12-28 18:06:34 +00:00
JohnCorby
6dd20d4113 Merge branch 'dev' into message-conversion 2021-12-27 13:41:51 -08:00
Mister_Nebula
3a4f5d0a4c add label thingy to syncbase 2021-12-27 21:32:00 +00: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
4396edd227 put space before colon 2021-12-25 16:58:41 -08:00
Will Corby
9ce8463d57
Update SyncBase.cs
remove the todo
2021-12-18 17:47:45 -08:00
JohnCorby
fa13a40941 fix snap 2021-12-18 15:14:02 -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
Mister_Nebula
d6e510ed88 Merge branch 'dev' into orb-overhaul 2021-12-16 18:20:30 +00:00
Mister_Nebula
23e4622410 more stuff 2021-12-14 16:04:59 +00: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
03df866af1 Update SyncBase.cs 2021-12-13 16:05:34 +00: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
0988dc8f45 Merge branch 'dev' into tornadoes
# Conflicts:
#	QSB/Events/EventNames.cs
2021-12-11 16:16:40 -08:00
Mister_Nebula
7c1f9ac3a6 me me stupid 2021-12-11 10:50:17 +00:00
Mister_Nebula
916056c605 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2021-12-10 22:13:39 +00:00
Mister_Nebula
2ab553069e idk what this breaks????? 2021-12-10 21:12:01 +00:00
Mister_Nebula
554c2bb2dd cleanup 2021-12-07 15:56:08 +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
e7db67a3a9 fix bug where _baseIsReady was always false in client 1 until client 2 joined 2021-12-03 01:07:43 -08:00
JohnCorby
914a05916d removed world object bools from qsbcore since they're duplicates 2021-12-02 02:44:34 -08:00
JohnCorby
c760fe2c41 add support for delayed readiness in WorldObject and WorldObjectManager
(also slightly optimize qsbworldsync)
2021-12-02 02:44:33 -08:00
JohnCorby
7b81e1b4e0 funny moments with kinematic simulation and alignment 2021-12-01 03:55:56 -08:00
Mister_Nebula
7054b239a1 create DebugSettings 2021-11-25 22:44:15 +00:00
Mister_Nebula
3860b2aacc add newlines 2021-11-25 15:38:05 +00:00