Vera Aguilera Puerto
b44a1cde88
Inline HasComponent entirely
2021-12-03 12:23:18 +01:00
Vera Aguilera Puerto
86d05dfa1e
Inline GetComponent
2021-12-03 11:55:25 +01:00
Vera Aguilera Puerto
419f4f36ab
Inline Paused
2021-12-03 11:30:39 +01:00
Vera Aguilera Puerto
7bec76d8d1
Inline LifeStage
2021-12-03 11:13:18 +01:00
Vera Aguilera Puerto
f782e76671
Inline EntityManager
2021-12-03 11:11:52 +01:00
metalgearsloth and GitHub
6da9176410
Fixture 2 electric boogaloo ( #2297 )
2021-12-01 18:31:13 +11:00
metalgearsloth
f812eb1e27
Revert "Move physics fixtures to its own component ( #2220 )"
...
This reverts commit ebc0fc9c60 .
2021-12-01 13:54:32 +11:00
metalgearsloth and GitHub
ebc0fc9c60
Move physics fixtures to its own component ( #2220 )
2021-12-01 12:59:42 +11:00
44649eea1c
pvs refactor ( #2247 )
...
Co-authored-by: Paul <ritter.paul1+git@googlemail.com >
2021-11-30 15:07:08 +01:00
metalgearsloth and GitHub
02987ac703
Update some hotpaths to use new transform method ( #2281 )
2021-11-28 00:41:08 +01:00
metalgearsloth and GitHub
20aec0a8f9
Add method to get worldpos and worldrot at the same time ( #2226 )
...
* Add method to get worldpos and worldrot at the same time
Somewhat of a gain because it halves the number of GetComponent<TransformComponent> + _parent.IsValid() calls
* Remove redundant methods
* Also inverse
* Test
* Import
* Add benchmark
* Delete benchmark
2021-11-26 01:47:51 -08:00
Acruid and GitHub
279cc0f83f
AppearanceComponent Cleanup ( #2253 )
2021-11-23 18:16:37 +11:00
metalgearsloth and GitHub
3a00e0d497
Expose physics contacts as an enumerable ( #2250 )
2021-11-21 18:41:12 +11:00
metalgearsloth and GitHub
05321f0381
Miscellaneous fixes for thrusters ( #2239 )
2021-11-17 22:42:00 +01:00
metalgearsloth and GitHub
75fc9089c3
Add weld joints and other misc changes for docking ( #2197 )
2021-11-11 19:54:08 +11:00
metalgearsloth and GitHub
4600f0531d
Fix centre of mass ( #2212 )
2021-11-10 17:25:38 +01:00
Vera Aguilera Puerto
079e099a3b
Makes many things use OwnerUid instead of Owner.Uid
2021-11-09 15:11:02 +01:00
Vera Aguilera Puerto and GitHub
ce169ed15e
Move LastModifiedTick out of Entity and into MetaDataComponent. ( #2209 )
2021-11-08 15:56:49 +01:00
Vera Aguilera Puerto
9b215098e4
Remove ITransformComponent.
2021-11-08 12:49:55 +01:00
Vera Aguilera Puerto
78d01fd25d
Remove every ITransformComponent usage.
2021-11-08 12:44:03 +01:00
Vera Aguilera Puerto
8e8bfbe0cc
Obsolete ITransformComponent
2021-11-08 12:28:49 +01:00
Vera Aguilera Puerto
58638c9109
Make TransformComponent public, IEntity keeps a reference to TransformComponent.
2021-11-08 12:21:34 +01:00
Vera Aguilera Puerto and GitHub
2f2a397ecf
Fix TransformComponent access modifiers ( #2207 )
...
Part 1 of ITransformComponent removal.
2021-11-08 12:18:53 +01:00
metalgearsloth and GitHub
225446920a
Make transform delete entity if parent invalid ( #2193 )
2021-11-02 17:54:48 +01:00
metalgearsloth
b4ed513e8c
Optimise anchor snap
2021-11-02 16:55:12 +11:00
20kdc and GitHub
e2723a83b3
Revert "Technically fixes lathes, but not properly, but doesn't make things worse." :D ( #2166 )
...
This reverts commit cb19430d5c .
2021-10-27 12:44:34 +11:00
20kdc and GitHub
17979db216
Technically fixes lathes, but not properly, but doesn't make things worse. ( #2123 )
...
I am aware this PR is terrible, but you saw what happened to the proper fix.
2021-10-11 16:10:38 +02:00
metalgearsloth and GitHub
3ac5552276
Cache more broadphase stuff internally ( #2071 )
...
* Don't generate physics contacts for non-predicted bodies
These are all just handled on the server anyway so it's a significant waste of performance on the client for busy scenes.
* Significantly optimise broadphase updates
Cache all of the broadphase data properly now and also save the cache for physics step to boot.
* Fix cross-map broadphases
* Remove unnecessary clear
* fix
* Fixes
* Numerous ray fixes
2021-10-10 14:18:10 +11:00
metalgearsloth and GitHub
aa339eb504
Add component that toggles collision on anchoring ( #2113 )
2021-10-09 18:27:31 +02:00
metalgearsloth
9305b261bb
Decrease angular sleep tolerance
2021-10-08 14:15:54 +11:00
Vera Aguilera Puerto and GitHub
ab4f2c91b4
Move LifeStage and Paused data to MetaDataComponent. ( #2068 )
2021-10-04 12:29:13 +02:00
metalgearsloth and GitHub
5a343477a9
Joints refactor ( #1954 )
...
* feex
* Cleanup
* Remove unneeded matrix
* Fixes
* Fix preprocessor
* localanchor cleanup
* Break this build so I remember to fix it later.
* Fixes
* Woops
* Fixes
* Fixup merge
* Stuff
* Update debug drawing
* Also dis thanks fork
* fren
* More colors
* Default drawing
* Fixes
* reviews
2021-10-04 15:34:15 +11:00
metalgearsloth and GitHub
ebaba35e8b
Aggressively sleep physics bodies ( #2078 )
...
* Aggressively sleep physics bodies
* Fix tests
* Also buff angular damping
2021-09-29 20:06:56 +10:00
metalgearsloth
b5d3772ef4
Fix items getting stuck awake
2021-09-29 13:59:12 +10:00
Vera Aguilera Puerto and GitHub
fbcdd63988
Gets rid of most ComponentManager usages. ( #2076 )
...
- Obsoletes more `ComponentManager` fields/properties.
2021-09-28 13:36:18 +02:00
Vera Aguilera Puerto
15778d3af4
Fix some warnings regarding IComponentManager.
2021-09-28 12:41:49 +02:00
metalgearsloth and GitHub
1acad96eff
Optimise animations a bit ( #2006 )
...
* Optimise animations
L'il bit of ECS at the time.
* Add pointlight event too
* System methods
* Bool flag
* Fix perf problem
* Use RQ
2021-09-27 14:51:10 +10:00
metalgearsloth
6d0cf375d0
Hotfix centroids
...
Not the permanent solution given it doesn't handle offset vertices but good enough for now.
2021-09-23 13:19:38 +10:00
metalgearsloth and GitHub
68576ace72
Accurate grid bounds ( #2027 )
...
* Fright night
* Shitty bounds working
* No more fixture leak
* Optimise TryFindGridAt
Should be O(1) now instead of the previous O(n) for number of fixtures
* ambush
* Merge stuffies
* Merge to master
* Fixes I guess
* Fix client sync
* Fix grid deserialization
* Jank test
* Fix deferral shitfuckery
* Optimise and remove
* Fixes
* Just werk dam u
* Optimisations
* Bunch of fixes
* FINALLY IT'S DONE
* Fixes
* Fix
* Comment
2021-09-20 21:07:31 +10:00
Visne and GitHub
a5be8e723e
Remove some unused obsolete stuff ( #2049 )
2021-09-20 10:59:50 +02:00
metalgearsloth and GitHub
bac3ff969b
Don't sleep items parented to map ( #2031 )
2021-09-20 10:58:44 +02:00
Vera Aguilera Puerto
3b902e0557
IMetaDataComponent implements IComponent
2021-09-19 10:46:09 +02:00
Vera Aguilera Puerto and GitHub
6d03840fbd
Makes BoundUserInterfaces partially ECS. ( #2033 )
2021-09-18 10:41:06 +02:00
metalgearsloth
42a137d106
Raise anchoring broadcasted
2021-09-17 00:06:02 +10:00
metalgearsloth
b91fa6ba75
Reduce position approx tolerance
2021-09-16 14:03:33 +10:00
metalgearsloth
e270f4f06c
Reduce velocity approx tolerance
2021-09-16 13:57:18 +10:00
metalgearsloth and GitHub
209eb5fea0
Fix 90% of grid rotation bugs ( #2003 )
...
* View box2rotated
* Changes
* Stash someday
* Sync
* Grid rotation in a commit
* SIMD comment
* Minor TryFindGridAt optimisation
* More fixes
* Optimise rays a tad
* Reduce code duplication
* Fix anchoring
* More fixes woopsie
* Eye matching parent
* Centre of mass stuffsies
* Remove TODO
* Add TODO
* Revert anchor crash
* Fix master merge-in whoopsie
* Fixes
* Woops
* Fixed viewport transform
* Re-fix rendering
2021-09-16 12:59:16 +10:00
metalgearsloth and GitHub
699615df97
Remove Snapus Gridus ( #2014 )
2021-09-12 16:34:51 +10:00
metalgearsloth and GitHub
b83e09c214
Add method to apply impulse from a point ( #1992 )
2021-09-07 08:25:28 +02:00
metalgearsloth and GitHub
d5855fa805
Sync PointLight data between client and server. ( #1995 )
...
* Sync PointLight data
* ECS GetComponentState
* Nothing to see here
2021-09-06 17:31:06 +10:00