metalgearsloth and GitHub
dd56de70b7
Fix grid-based audio ( #5087 )
...
* Fix grid-based audio
- Fixes parenting issues.
- Add SetGridAudio as an easy way to set it up and apply the override too.
* No more global
* Rejig it all
* mergew
* review
* Minor optimisation
* Revert "Minor optimisation"
This reverts commit d0cdac7690 .
2024-05-29 16:14:37 +10:00
metalgearsloth and GitHub
ae83e606d6
Add SetWorldRotNoLerp method ( #5091 )
...
* Add SetWorldRotNoLerp method
I neeeeed it.
* Also this one
* dum
2024-05-02 12:14:27 +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
Nemanja and GitHub
4504731588
Add a method in SharedTransformSystem for swapping the position of two entities ( #4988 )
...
* swap pos method
* no forcing
* Sluth review
* weh
2024-04-29 13:45:12 +10:00
b624f5b70f
Add SetMapCoordinates ( #5065 )
...
* add set map coordinates function
* mmmmmmm yes
* Update Robust.Shared/GameObjects/Systems/SharedTransformSystem.Component.cs
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2024-04-24 22:55:58 +10:00
Leon Friedrich and GitHub
d5c4981648
Partial MapManager refactor ( #5042 )
...
* MapManager rejig
* Update Tests
* A
2024-04-18 14:05:02 +10:00
metalgearsloth and GitHub
cd24fd46b6
Default worldpos to null ( #5036 )
...
I think this is slightly more robust than defaulting to 0 actually while still fixing the issue.
2024-04-14 14:47:30 +10:00
metalgearsloth and GitHub
44cc7127fa
Default SetWorldPos to 0 rotation ( #5034 )
...
More closely aligns with the old default.
2024-04-14 14:28:16 +10:00
Leon Friedrich and GitHub
0c271fc2f8
Remove uneccesary Exists() checks in container system ( #5031 )
...
* Remove `Exists()` checks in container system
* A
* A
2024-04-08 01:24:09 +02:00
metalgearsloth and GitHub
c38a14e78f
WorldPos review fix ( #5011 )
...
Forgot I merged ghub and tried pushing and didn't check it failed.
2024-03-29 16:56:25 +11:00
c79217ab66
Rework SetWorldPosition ( #4915 )
...
* Remove ents from containers for worldpos updates
Avoids bugs from content not checking for this every time. Physics and anything else important manually uses localposition updates so shouldn't adversely impact performance that much.
* Fixes
* Fix grid pos
* Also fix the joint setter
* Add both
* Update Robust.Shared/GameObjects/Systems/SharedTransformSystem.Component.cs
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com >
---------
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com >
2024-03-29 16:49:26 +11:00
Leon Friedrich and GitHub
83371885fa
Support transform states with unknown parents ( #4972 )
2024-03-17 11:28:50 +11:00
metalgearsloth and GitHub
7aa951ca48
Add undetachable PVS flag ( #4889 )
...
Useful in some rare cases, mainly for grid-related activities.
Specifically:
- Audio entity where we never want it detached.
- FTL previs effects to show impending squish.
2024-03-16 14:58:08 +11:00
metalgearsloth and GitHub
59b3ffda4f
Add grid merging ( #3627 )
...
* Add grid merging
* More preliminary cleanup
* Fixes
* Fixes
* weh
* tweaks
* Tests
* weh
* Fix direction test
* Release notes
2024-01-21 17:41:04 +11:00
Leon Friedrich and GitHub
f4faa1ad3d
Run grid traversal on entity spawn ( #4796 )
...
* Run grid traversal on entity spawn
* Add test
* Fix tests
2024-01-02 17:25:13 +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
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
250f6ca7db
Obsolete TransformComponent.ChildEntities ( #4706 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-14 17:50:29 +11:00
TemporalOroboros and GitHub
56899b4e64
Some ContainerManagerComponent ECSing ( #4622 )
2023-12-12 13:24:18 +11:00
metalgearsloth and GitHub
0296d9635c
Fix some grid setting asserts ( #4580 )
2023-12-11 19:49:55 +11:00
Leon Friedrich and GitHub
6f9ed8a242
Stop terminating entities from being prematurely detached to nullspace ( #4675 )
2023-12-10 13:18:42 +11:00
Leon Friedrich and GitHub
773b87672b
Fix terminating entity reparenting bug ( #4549 )
2023-11-08 15:39:08 +11:00
metalgearsloth and GitHub
2f6c29ab43
Add GetMapCoordinates to TransformSystem ( #4556 )
2023-11-07 20:23:05 -08:00
Leon Friedrich and GitHub
9e5c1e9c95
Change place-next-to helper methods ( #4506 )
2023-10-22 16:52:58 +11:00
Leon Friedrich and GitHub
f3af813b57
Transform interpolation fixes ( #4488 )
2023-10-17 23:47:45 +11:00
Leon Friedrich and GitHub
74831a177e
Don't attempt to insert entities into deleted containers ( #4424 )
2023-09-18 10:57:14 +10:00
metalgearsloth and GitHub
3fd731d917
Network entity ids ( #4252 )
2023-09-11 09:42:55 +10:00
Leon Friedrich and GitHub
98b1862433
Add new spawn functions ( #4280 )
2023-08-23 18:54:55 +10:00
metalgearsloth and GitHub
e67d0ad3d6
Xform stuff ( #4246 )
2023-08-08 11:55:56 +10:00
Leon Friedrich and GitHub
1c64fa1f28
Fix TransformSystem.SetCoordinates() error logs. ( #4245 )
2023-08-07 11:24:26 +10:00
Leon Friedrich and GitHub
3149f99954
Fix bad DetachParentToNull() assert ( #4222 )
2023-08-02 12:40:59 +10:00
Leon Friedrich and GitHub
804b698172
Improve DetachParentToNull() debug asserts ( #4194 )
2023-08-02 04:27:18 +10:00
metalgearsloth and GitHub
e4a14d1ec8
Start MapGrid ECS ( #4185 )
2023-07-23 20:50:23 +10:00
metalgearsloth and GitHub
89f78d76ab
Cull Component.Startup ( #4190 )
2023-07-23 16:04:37 +10:00
metalgearsloth and GitHub
ce4016965e
Add NoLerp methods for rotation ( #4186 )
2023-07-18 21:40:09 +10:00
metalgearsloth and GitHub
7d1ad527d9
Replace Robust Vector2 with System.Numerics ( #4092 )
2023-07-08 14:08:26 +10:00
Leon Friedrich and GitHub
f6a5e0ed93
Fix doc comments & typos ( #4170 )
2023-07-06 15:28:09 +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
0ebdd4ac1d
MapManager query changes ( #4090 )
2023-05-28 23:22:39 +10:00
Leon Friedrich and GitHub
7ccef97287
Remove another bad assert ( #4046 )
2023-05-15 16:02:53 +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
d2b3fc737b
Fix circular transform hierarchy crash ( #4002 )
2023-05-05 14:54:04 +10:00
Leon Friedrich and GitHub
381c856dd4
Add transform recursion check ( #3983 )
2023-05-01 14:11:21 +10:00
eae1e7c108
'fix' transform coordinates assert ( #3964 )
...
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com >
2023-04-24 16:17:29 +10:00
Leon Friedrich and GitHub
4242591b56
Fix pvs chunk update bug ( #3961 )
2023-04-23 16:23:24 +10:00
Leon Friedrich and GitHub
8958b2123e
Add stack trace to transform log. ( #3938 )
2023-04-17 11:36:10 +10:00
metalgearsloth and GitHub
23d827e4ef
Fix adding mapgrid to a map ( #3890 )
2023-03-29 23:02:31 +11:00