- Projectiles look fine only when firing in one direction
The more you turn in one direction; the more the projectiles look off. If you do a 180 with respect to the 'good' direction, they straight up disappear.
This seems to be a camera-related issue, because the projectiles still show up fine for remote clients.
- Projectiles seem to appear at Transform(0.0, 0.0, 0.0) for remote entities; classic system ordering issue
I added a Transform component at the same time as Position is added on the projectile, which seemed to fix the issue.
However this shouldn't be necessary because we spawn the projectile entity before PhysicsSet::Sync and TransformPropagate. We want to understand why this is still an issue
- Server sometimes panics with
thread 'Compute Task Pool (3)' panicked at /Users/cb/.cargo/git/checkouts/lightyear-16a1ca81dacb5ed5/e77e3e5/lightyear_avian/src/lag_compensation/query.rs:103:22:
called `Option::unwrap()` on a `None` value
The more you turn in one direction; the more the projectiles look off. If you do a 180 with respect to the 'good' direction, they straight up disappear.
This seems to be a camera-related issue, because the projectiles still show up fine for remote clients.
I added a Transform component at the same time as Position is added on the projectile, which seemed to fix the issue.
However this shouldn't be necessary because we spawn the projectile entity before
PhysicsSet::SyncandTransformPropagate. We want to understand why this is still an issue