Commit Graph

33 Commits

Author SHA1 Message Date
Jezithyr
c15b0691ec Emergency revert for pulling (#24923)
Revert "Pulling rework (#20906)"

This reverts commit 0d8254b2a2.
2024-02-03 10:32:30 -08:00
metalgearsloth
0d8254b2a2 Pulling rework (#20906)
* Pulling rework

Fixing up the FOUR systems managing pulling, all the shitcode, and also making it nicer ingame.

* More pulling cleanup

* stats

* More cleanup

* First draft

* More pulling

* weh

* Fix puller

* Pulling working

* Fix merge

* Dunked

* Self-merge time
2024-02-03 14:36:09 +11:00
Leon Friedrich
721a445bbd Fix pulling mispredicts (#22941)
* Fix pulling mispredicts

* Make behaviour consistent

* Good ol terminating entities
2023-12-25 00:33:32 -07:00
PixelTK
5540f15296 Editable "NeedsHands" for SharedPullerComponent using SharedPullingStateManagementSystem (#21960)
* Editable "NeedsHands" for SharedPullerComponent

* is { get; set; } better?

* Waiter, waiter! There's a worm in my access!

They call me the worst clown there is.

* Get the comp to dirty.
2023-12-02 16:34:37 -05:00
DrSmugleaf
a136616531 Replace Component.OnRemove with ComponentRemove event subscriptions (#21072) 2023-10-17 19:35:36 -07:00
metalgearsloth
5a0fc68be2 Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
Nemanja
ba753d0f17 Pulling fasto (#17696)
* faster pulling + pulling gravity tweaks

* merciful
2023-06-28 14:03:16 -06:00
metalgearsloth
90110183be Fix a bunch of logger warnings (#17691) 2023-06-27 23:56:52 +10:00
metalgearsloth
bf79d76666 Content update for ECS physics (#13291) 2023-01-15 15:38:59 +11:00
metalgearsloth
78a4ab6eb2 Update for collision events by-ref (#10933) 2022-09-14 17:26:26 +10:00
Leon Friedrich
7ec013b196 Improve pulling error logs (#10762) 2022-08-21 17:50:38 -07:00
Leon Friedrich
ebe6093af1 Pulling state handling changes (#9952) 2022-07-29 12:13:43 +10:00
metalgearsloth
8905996cfc Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
metalgearsloth
e630deafe1 Bandaid pullcontroller (#7176) 2022-03-19 14:18:43 +11:00
metalgearsloth
8bf00b40cd Revert "ctrl-rclick tweaks" (#7171) 2022-03-18 15:40:02 +11:00
metalgearsloth
867fa503fb ctrl-rclick tweaks (#7170) 2022-03-18 14:18:34 +11:00
mirrorcult
ec4d4688c7 Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
ScalyChimp
3c9328ff99 Adds portable flasher (#4523)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-02-07 02:59:41 +11:00
Leon Friedrich
0da74b1bfb misc optimization (#6436) 2022-02-02 22:40:22 -07:00
Vera Aguilera Puerto
8b09d55b10 Fix weird lifestage autorefactors. 2021-12-09 12:39:51 +01:00
metalgearsloth
8af335097f More (IComponent) shenanigans and also some contaminated IoCManager.Resolve<IEntityManager>() very long yes calls 2021-12-07 22:22:34 +11:00
Vera Aguilera Puerto
2bfec7ec62 Some more fixes 2021-12-04 14:14:22 +01:00
Vera Aguilera Puerto
f386b57148 Inline OwnerUid 2021-12-03 16:30:34 +01:00
Vera Aguilera Puerto
5cd42c9ad6 Inline UID 2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto
69b270017b Inline TryGetComponent completely, for real 2021-12-03 14:17:01 +01:00
Vera Aguilera Puerto
b835bea086 Inline GetComponent 2021-12-03 11:55:25 +01:00
Vera Aguilera Puerto
cd43196ea8 Inline LifeStage 2021-12-03 11:18:05 +01:00
Clyybber
943e46eece Tiny pulling fixes (#5478) 2021-11-24 00:02:08 +11:00
Vera Aguilera Puerto
b6337ffe7a Makes many things use OwnerUid instead of Owner.Uid 2021-11-09 15:05:49 +01:00
20kdc
206f054cdf Pulling rotation adjustment, newton's third law, entitycoordinates for moveto (#5141)
* Pulling: Piano door stuck prevention (pulling angle-snap) and getting rid of a condition causing oddities with pull-to-location

* Pulling: Implement Newton's Third Law in regards to puller/pullee physics

Weightless condition was determined not to be necessary

* Fix pull-to-position on actively rotating/moving grids + fixes for rebase
2021-11-06 19:16:49 -07:00
20kdc
59277d8f86 Ensure pulling maximum length is at least 1 to avoid errors (#4808) 2021-10-09 15:49:08 +02:00
20kdc
2a8486a384 Pullability partial ECS refactor, monkey-gibbing error fix (#4695)
* Migrate lots of pulling logic out of the components and clean it up

* It's buggy, but move more code out of the pullable component

* Pulling system now throws less errors than it did before the refactor

* Finally finish the big parts of refactoring pullability

* Pulling: Handle disconnect properly if the pull joint has been removed by physics shutdown

* Port 2b68449328 to this branch

* Changes as per PR reviews

* Port e801ffac45 (SharedJointSystem) and fix issues encountered during testing

SharedJointSystem.

Also, MinLength and Stiffness appear to have suddenly gained enough meaning that pulling is broken unless they're set.
2021-10-04 17:10:54 +02:00