46 Commits

Author SHA1 Message Date
Aevyrie
44ff1f32de
Bevy 0.16 (#46)
# Objective

- Working branch to target all fixes for bevy 0.16

Co-authored-by: Zachary Harrold <zac@harrold.com.au>
2025-04-09 23:09:19 -07:00
Aevyrie
09e0fe513a
Change precision features to be more flexible. (#41) 2025-03-29 22:23:28 -07:00
Aevyrie
f6d8bf0649
Yeet Precision Generics (#40) 2025-03-04 21:41:31 -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
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
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
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
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
409f158b0e include proton scale 2023-10-23 12:51:03 -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
Aevyrie
64e70471d9 Simplify camera 2023-07-18 22:54:42 -07:00
Aevyrie
347f51a5d6 improve cam and example 2023-07-18 20:55:30 -07:00
Aevyrie
c0113e51e3 switch to default font 2023-07-18 00:08:22 -07:00
Aevyrie
a51174b299
clippy 2023-07-17 23:07:39 -07:00
Aevyrie
6847936f1a
bevy 0.11 2023-07-17 22:49:24 -07:00
Aevyrie
1a1f7ebc39
Make FloatingOriginSettings::new pub (#3)
Closes #2
2023-05-08 13:46:41 -07:00
Aevyrie Roessler
622f59db7b Update docs and organization 2023-03-29 01:04:23 -07:00
Aevyrie Roessler
023170b718 Update to use new transform propagation systems 2023-03-29 00:55:02 -07:00
Aevyrie Roessler
f86da2d35d Update silly hardcoded debug mesh vertices 2023-03-28 20:59:22 -07:00
Aevyrie Roessler
66d8e2fce8 simplify ordering with chain 2023-03-28 20:28:55 -07:00
jorgen
56dff7ebbe removed unneccessary ciomments 2023-03-25 17:56:14 +01:00
jorgen
e2740c5283 Updated to Bevy 0.10 2023-03-25 17:50:06 +01:00
Aevyrie
19e8e2e9c5
demo features, added controller multi cam support 2023-01-30 23:33:47 -08:00
Aevyrie Roessler
95d4483afb
demo and camera improvements 2023-01-30 02:05:54 -08:00
Aevyrie Roessler
b40a3f9074
fix camera ordering 2023-01-29 03:12:56 -08:00
Aevyrie Roessler
62793c5433
errata 2023-01-29 01:18:48 -08:00
Aevyrie Roessler
1d31e14ad9
make polyline optional 2023-01-29 01:10:49 -08:00
Aevyrie Roessler
e049ccf8b3
typos and warnings 2023-01-29 00:11:47 -08:00
Aevyrie Roessler
19d6670145
Final tidying 2023-01-29 00:05:37 -08:00
Aevyrie Roessler
9f3084474d
initial commit 2023-01-06 08:02:59 -08:00