metalgearsloth and GitHub
ee8ea4ec3b
Purge PhysicsMapComponent ( #5766 )
...
* Replace PhysicsMapComponent
- Dumb idea
- Lots of book-keeping and perf overhead.
- Much saner this way.
* stuff
* More work
* Purge
* Fixes
* Eh?
* Fixes
* Also this
* weh
* Fixes
* ice-cream
* Fix
* Fix stacking / gravity
* Gravity query
* MoveBuffer optimisations
* Fixes for test
* World gravity
* Fix build
* Avoid some transform resolves for contactless ents
* Less getcomps
* Fix contact caching
* Possibly less copies
* reh
* bulldoze
* Test "fix"
* seikrets
* a
* I saw this but now I decideded against it
* true
2025-05-28 19:18:36 +10:00
metalgearsloth and GitHub
04406311dc
Use EntityQuery for map / grid calls ( #5869 )
...
Avoids the type lookup etc etc.
2025-04-20 12:59:06 +10:00
Kyle Tyo and GitHub
ee45a608b9
Replace IsMap and IsGrid calls with HasComp ( #5866 )
2025-04-20 12:21:19 +10:00
metalgearsloth and GitHub
348ab70a8d
Update B2DynamicTree ( #5332 )
...
* Update B2DynamicTree
* API updates
* weh
* forcing it
* Fix all of the bugs
* Rebuild
* A crumb of danger
* Fix merge conflicts
2025-03-08 14:15:47 +11:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00
Leon Friedrich and GitHub
9af119f57a
Toolshed Rejig ( #5455 )
...
* Toolshed Rejig
* shorten hint string
* Try fix conflicts. Ill make with work later
* bodge
* Fix ProtoIdTypeParser assert
* comment
* AllEntities
* Remove more linq from WhereCommand
* better help strings
* Add ContainsCommand
* loc strings
* Add contains command description
* Add $self variable
* Errors for writing to readonly variables
* A
2024-12-21 17:49:11 +11:00
metalgearsloth and GitHub
cd95929ebe
Heavily optimise entitylookup ( #5400 )
...
* Heavily optimise entitylookup
Previously I made it so MOST of entitylookup goes through the same 4 or 5 codepaths and uses shapes. The downside was some codepaths were made much slower in the process.
This fixes most of the going up and down lookups that some codepaths did. It should also be faster than the pre-shapes version because GetLocalPhysicsTransform is being used for the non-approx queries and most entities are parented directly to their broadphase.
* Tests and confidence
* code
* dang
2024-08-27 21:32:50 +10:00
metalgearsloth and GitHub
d47d488ce7
Broadphase init fixes ( #5367 )
...
1 for replays 1 for loadmap.
The replay one is kinda sussy but physicamap is supposed to get dumped at some point so.
2024-08-21 02:39:23 +02:00
Leon Friedrich and GitHub
60a29933d8
Try fix broadphase bug ( #5342 )
...
* Try fix broadphase
* I love initialization pasta
2024-08-07 20:07:57 +10:00
eoineoineoin and GitHub
56c30edf04
Replace Matrix3 with System.Numerics.Matrix3x2 ( #5078 )
...
* Delete Matrix3. Replace with System.Numerics.Matrix3x2
* Feedback
* release notes
2024-06-02 14:08:47 +10:00
Leon Friedrich and GitHub
25211e3781
Improve transform & state handling exception tolerance ( #5081 )
...
* Improve transform & state exception tolerance
* release notes
* Fix pvs assert
* Fix velocity conservation
2024-04-29 18:42:05 +10:00
metalgearsloth and GitHub
d45ce7742e
Entitylookup approx / shape changes ( #4842 )
...
* Entitylookup approx / shape changes
- Make the shape queries respect the approx flag.
- Make everything use shape queries.
- Hopefully reduce some of the internal cruft.
- Add some new methods I need for trade station.
* Bunch of deduplication
* Remove some more duplication abuse
* Remove intersection duplication
* Bunch more cleanup
* MapManager rejig
* Fix some stuff
* More fixes
* Release notes
* Fix TryFindGrid
* Sensor check
* Fix query
* Fix map queries
* More cleanup
* Fix whatever this is.
* also dis
* Fix entity query
* Smol optimisations
* Also this
2024-01-19 13:02:22 +11:00
metalgearsloth and GitHub
8cbc05840f
Remove some unnecessary GetEntityQuery<T> ( #4823 )
2024-01-10 18:31:32 +01:00
Leon Friedrich and GitHub
1758fced75
Revert some grid/map related changes ( #4809 )
2024-01-05 13:48:43 +11:00
metalgearsloth and GitHub
371db7db2f
Add GetLocalEntitiesIntersecting for griduid + tilesize ( #4807 )
2024-01-04 15:05:18 +11:00
Leon Friedrich and GitHub
cfb88b2e8e
Arch related engine changes ( #4806 )
2024-01-04 12:18:03 +11:00
Leon Friedrich and GitHub
0b8febf6a6
FlushEntity() and EntityManager event changes ( #4791 )
2024-01-01 11:04:11 +11:00
Leon Friedrich and GitHub
eba58cb893
Remove RobustTree & PVSCollection ( #4759 )
...
* Cut down RobustTree
* Better LoD
* Add PvsPriority flag
* Undo cvar name change
* reorganize grafana metrics
* Fix tests
* Fix replays
* Don't try process empty chunks
* Fix move benchmark
* Fix benchmark
* Remove obsolete audio methods
* Moar benchmarks
* Rename EntityData
* A
* B
2023-12-28 09:10:13 +11:00
Leon Friedrich and GitHub
7b171b2212
Fix some physics bugs ( #4746 )
...
* Fix SetAwake()
* Remove bad debug assert
* EntityQuery & misc optimizations
* Remove bad(?) code, and add new test
* I love engine tests
* Add debug assert
2023-12-24 17:28:43 +11:00
Kara and GitHub
d416344aef
MoveEvent broadcast -> C# event ( #4732 )
...
* MoveEvent broadcast -> C# event
* Broadcast MoveEvent -> C# event
* oops
* forgob
* release notes
* Update description of moveevent
2023-12-19 12:26:13 +11:00
bc84590a33
Make ChildEnumerator out value non-nullable ( #4707 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-17 03:10:20 +11:00
metalgearsloth and GitHub
24b0165ec9
Revert Arch ( #4613 )
2023-11-27 21:41:01 +11:00
7dce51e2cf
Arch PR two electric boogaloo ( #4388 )
...
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com >
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-11-23 14:29:37 +11:00
DrSmugleaf and GitHub
4a50bc2154
Add AddEntitiesIntersecting for phys shapes, change float range overload to use circles, remove obsolete methods ( #4572 )
2023-11-16 20:44:21 +11:00
Leon Friedrich and GitHub
773b87672b
Fix terminating entity reparenting bug ( #4549 )
2023-11-08 15:39:08 +11:00
Leon Friedrich and GitHub
922165fa19
Include sensors in default entity lookups ( #4406 )
2023-09-16 15:22:54 +10:00
metalgearsloth and GitHub
064e8ee365
Minor CompAdd stuff ( #4327 )
2023-08-27 12:54:09 +02:00
metalgearsloth and GitHub
f05ed96461
Remove FixtureId from fixtures ( #4270 )
2023-08-23 18:50:48 +10:00
metalgearsloth and GitHub
ac3a434bdf
Shrink entitylookup tile enlargement even further ( #4240 )
2023-08-06 15:06:08 +10:00
metalgearsloth and GitHub
dbb6b90654
Tile enlargement + new flag for lookups ( #4205 )
2023-08-06 12:41:27 +10:00
metalgearsloth and GitHub
3d974e0305
Fix entitylookup recursion ( #4218 )
2023-08-02 10:28:10 +10:00
metalgearsloth and GitHub
e4a14d1ec8
Start MapGrid ECS ( #4185 )
2023-07-23 20:50:23 +10:00
metalgearsloth and GitHub
7d1ad527d9
Replace Robust Vector2 with System.Numerics ( #4092 )
2023-07-08 14:08:26 +10:00
metalgearsloth and GitHub
e763d59617
Remove some unnecessary EntityQuery<T> and warns ( #4167 )
2023-07-02 01:12:45 +10:00
e71f1cc8a5
Warning fixes ( #4160 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-07-01 22:02:12 +10:00
metalgearsloth and GitHub
b82d246988
Fix ComponentTreeSystem warnings ( #4164 )
2023-07-01 19:23:37 +10:00
metalgearsloth and GitHub
d389e30c87
Changes for audio ( #4087 )
2023-05-28 14:50:21 +10:00
Leon Friedrich and GitHub
b422d8d3ca
Make map-grids set TransformComponent.GridUid ( #4040 )
2023-05-15 12:39:45 +10:00
Leon Friedrich and GitHub
1678a26d0c
Remove obsolete Fixture.Body references ( #4014 )
2023-05-09 17:21:14 +10:00
metalgearsloth and GitHub
a52719b53f
Refactor fixture serialization ( #3923 )
2023-05-06 16:26:06 +10:00
Leon Friedrich and GitHub
eb711e44b5
Make GetAABBNoContainer actually raise the event ( #3954 )
2023-04-21 14:13:41 +10:00
DrSmugleaf and GitHub
4c8be516cf
Remove ILookupWorldBox2Component component reference ( #3914 )
2023-04-20 23:41:30 +10:00
Leon Friedrich and GitHub
f89d6fc73f
Add invalid broadphase check ( #3939 )
2023-04-20 00:12:18 +10:00
Leon Friedrich and GitHub
c21a062bcb
Add BroadphaseNetworkingTest ( #3930 )
2023-04-13 15:40:36 +10:00
metalgearsloth and GitHub
3d039118c6
Ensure DestroyContacts is called on fixture deletion ( #3658 )
2023-01-19 13:59:43 +11:00
metalgearsloth and GitHub
1c36d919e4
Physics ECS 2 ( #3648 )
2023-01-15 15:38:53 +11:00
metalgearsloth and GitHub
ace8500240
Remove client/server split on sharedphysicsmap ( #3618 )
2022-12-27 13:17:54 +11:00
Leon Friedrich and GitHub
89ac6f0a43
Remove LookupFlags.Anchored ( #3578 )
2022-12-15 15:30:03 +11:00
metalgearsloth and GitHub
31c4a331ab
Swap entities when a map is loaded onto an existing map ( #3511 )
2022-12-10 14:37:23 +11:00
Leon Friedrich and GitHub
55d2c4a066
More broadphase fixes ( #3556 )
2022-12-06 13:16:37 +11:00