Commit Graph

55 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
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
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
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
cd9db24dd8 tweak 2022-01-16 07:56:08 -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
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
cbc354804d guh 2022-01-15 04:12:56 -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
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
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
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
554c2bb2dd cleanup 2021-12-07 15:56:08 +00: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
JohnCorby
7b81e1b4e0 funny moments with kinematic simulation and alignment 2021-12-01 03:55:56 -08:00
Mister_Nebula
eb79e32491 remove excess newlines 2021-11-25 15:37:38 +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
JohnCorby
03314fd4ad - implement UnsectoredRigidbodySync.cs
- fix TODO in SectoredRigidbodySync.cs
2021-11-09 16:26:06 -08:00
Mister_Nebula
ab23ed826b CLEANUP - remove unnecessary usings 2021-08-22 16:57:09 +01:00
Mister_Nebula
4234631a7b CLEANUP - format document 2021-08-22 16:54:48 +01:00
Mister_Nebula
59b2001754 CLEANUP - sort usings 2021-08-22 16:53:46 +01:00
Mister_Nebula
dc41dff1eb remove debug log from unsectoredtransformsync 2021-08-22 16:43:12 +01:00