88 Commits

Author SHA1 Message Date
Aevyrie
f6d8bf0649
Yeet Precision Generics (#40) 2025-03-04 21:41:31 -08:00
Aevyrie Roessler
2a1cb54e63 Merge remote-tracking branch 'origin/main' 2025-03-02 00:19:04 -08:00
Aevyrie Roessler
e5873495c1 Don't test benchmarks 2025-03-02 00:18:54 -08:00
Aevyrie
2f8f9101e5
Partition Bounds (#39)
Compute partition bounds during updates, to avoid needing to iterate
over all cells in a partition every time this information is needed.
2025-03-02 08:14:15 +00:00
Aevyrie
0b01883132
Update README.md 2025-01-08 23:19:45 -08:00
Aevyrie
b37132671a
Fix example bugs 2025-01-04 22:24:54 -08:00
Aevyrie
0471222105
Use proton scale for small scale example 2024-12-23 22:56:03 -08:00
Aevyrie
1b56ac9e63
Patch bump 2024-12-23 18:41:27 -08:00
Aevyrie
19bd8a2a52
Don't scrape examples, docs.rs failing 2024-12-23 18:41:13 -08:00
Aevyrie
91332a9c4b
Bump version to 0.9.0 2024-12-23 18:32:02 -08:00
Aevyrie
66295948bf
Spatial Hashing (#31)
Implements spatial hashing, to performantly run distance checks, find
all entities located in the same cell, or neighboring cells.
2024-12-24 02:30:04 +00:00
Aevyrie
cbfad4117d
Update bigspacebanner.svg 2024-12-22 22:15:43 -08:00
Aevyrie
3916f7afe3
Update bigspacebanner.svg 2024-12-22 21:48:42 -08:00
Aevyrie
fbd5283910
Update bigspacebanner.svg 2024-12-22 21:46:26 -08:00
Aevyrie
a45537b855
Update bigspacebanner.svg 2024-12-22 20:54:13 -08:00
Aevyrie
881c652199
Update bigspacebanner.svg 2024-12-22 18:07:26 -08:00
Aevyrie
f09a11a7f3
Add files via upload 2024-12-22 18:05:42 -08:00
Aevyrie
a37603fb8f
Update bigspace.svg 2024-12-22 17:19:47 -08:00
Aevyrie
d46f4d0b59
Add files via upload 2024-12-22 16:34:02 -08:00
Aevyrie
42eeb29992
use tracing instead of bevy log, fix no default features 2024-12-05 00:05:12 -08:00
Joona Aalto
9e778743e0
Bevy 0.15 (#34)
Migrate to the Bevy 0.15 RC.

- Migrate examples
- Add `with_child` to `ReferenceFrameCommands` and
`SpatialEntityCommands` to match Bevy's `EntityCommands::with_child`
- Add `Typed` bound to `GridPrecision` (required for `register_type`)

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
2024-12-05 07:52:24 +00:00
Aevyrie
d9f531e98c
Fix fun and exciting new clippy lints 2024-12-04 22:59:29 -08:00
Aevyrie
750a9a7398
Add missing component reflects, fix new lints 2024-11-30 09:47:38 -08:00
Lemonzy
b2ebb025e7
Use object visibility to determine the closest object to the camera (#28)
Fix #27
2024-07-15 18:03:50 -07:00
Aevyrie
87e96a700d
v 0.7.0 (#29) 2024-07-05 07:28:46 +00:00
Aevyrie
6fa7d31a0e
Revert "Bevy 0.14" (#30)
Reverts aevyrie/big_space#26
2024-07-05 00:21:41 -07:00
Aevyrie
be690d90d5
Bevy 0.14 (#26) 2024-07-05 00:21:09 -07:00
Aevyrie
27801da98c
Dependency Reduction (#23) 2024-06-30 01:31:16 -07:00
Aevyrie
8721911b49
Explicit BigSpaces (#22)
Changes the design of the plugin to work with multiple, independent
high-precision hierarchies at the root with the `BigSpace` component at
the root of each of these hierarchies.

Closes #17
Closes #19 
Closes #21
2024-06-17 01:41:03 -07:00
Aevyrie
14db5acb64
Create FUNDING.yml 2024-06-07 22:56:24 -07:00
Aevyrie
527ff95bdd
fix new 1.78 clippy lint 2024-05-06 02:07:03 -07:00
Aevyrie
cf926e7edb
Example improvements 2024-05-06 00:16:25 -07:00
Aevyrie
2eb87f948d
0.6 release 2024-04-13 22:43:46 -07:00
Aevyrie
2e69f80b8d
Reference Frames (#16)
Adds the concept of reference frames, allowing hierarchies of high
precision objects, e.g. objects in the reference frame of a planet,
which is itself rotating, and orbiting about a star.

---------

Co-authored-by: Oliver Scherer <github@oli-obk.de>
2024-04-13 22:33:45 -07:00
Martin Svanberg
0dafa2b83c
Use get_single instead of single (#15)
`big_space` currently panics if you defer creation of the floating
origin. Using `get_single` instead of `single` prevents this.
2024-04-12 04:09:04 +00:00
Oli Scherer
67f3c14b7a
Add a convenience helper for reading GridCell and Transform from a query at the same time (#12)
Co-authored-by: Oliver Scherer <github@oli-obk.de>
Co-authored-by: Aevyrie <aevyrie@gmail.com>
2024-03-07 02:55:05 -08:00
atomicbeef
946719c77e
Update GlobalTransform when changing FloatingOrigin (#10)
Currently, when the `FloatingOrigin` component is removed from one
entity and added to another, no `GlobalTransform`s are updated. This can
cause problems for things like switching between playable characters
that are in different `GridCell`s.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
2024-03-07 10:11:26 +00:00
Gord Lea
a2e3f05a70
bevy 0.13 (#14)
Update to bevy 0.13
2024-03-07 00:55:52 -08:00
Aevyrie
6c3cf18816 Bump up distance in error example due to bevy improvements 2023-12-07 22:37:29 -08:00
atomicbeef
0907ec1d94
Use a SystemSet for system ordering (#5)
I ran into an issue when trying to add the transform propagation systems
to a schedule more than once. The app would panic because there was more
than one instance of `propagate_transforms::<P>` and
`recenter_transform_on_grid::<P>` in the system graph, so Bevy didn't
know how to actually resolve the dependencies. By using a `SystemSet`,
we can avoid this issue nicely.

Unfortunately, I couldn't come up with a good name for the set, so I
decided to stick the definition inside the `build()` method itself. That
way at least the poor naming won't be exposed 😛. It still feels a little
icky to me though.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
Co-authored-by: Pyxrs <simplycmd00@gmail.com>
2023-11-10 07:55:23 +00:00
Aevyrie
5dacfd8507 fix examples 2023-11-10 01:51:13 -06:00
Aevyrie
bd8e226491
Update rust.yml 2023-11-09 22:38:58 -08:00
Aevyrie
f663e645b5
Update rust.yml 2023-11-09 22:28:14 -08:00
Aevyrie
409f158b0e include proton scale 2023-10-23 12:51:03 -07:00
Aevyrie
8118c11980 New formatting fix 2023-10-23 00:44:35 -07:00
Aevyrie
21b9f31288 Fix up error example 2023-10-23 00:43:53 -07:00
Aevyrie
756f5c266d Default to higher precision worlds 2023-10-23 00:43:43 -07:00
Aevyrie
2268c52379 fix feature needed for camera 2023-07-19 22:16:03 -07:00
Aevyrie
0844896379 Dont show camera grid cell, improve demo fact list 2023-07-19 22:01:30 -07:00
Aevyrie
94c1ca0c7c Clamp camera speed 2023-07-19 20:44:47 -07:00