Open JackPlaymint opened 1 week ago
i can confirm this issue. my use case is gun muzzle flash lagging behind as the gun changes position quickly.
edit: actually now that i tested again i can't find the lag. i did do a refactor recently.
do you mind sharing a codesandbox that reproduces the issue?
Is your feature request related to a problem? Please describe. Particle systems that have been made a child of a moving object seem to lag behind that parent object as it moves.
Describe the solution you'd like I think ideally in this situation, spawned particles should appear in a fixed position in the parent object's local space.
Describe alternatives you've considered Unfortunately, I can't see a way around this (other than just putting up with the discrepancy in position.
Additional context In this video, the ship reverses full speed before apply force upward (and the thruster turns on), however you'll notice that the thruster appears to be closer to the ship and then further away as it lags behind the ship's position (to clarify, these are not emitted in world space).
Screen_Recording_2024-09-11_at_16.30.37.mov
I already made a fix with 9fe3832732b77cc3ff7348591d6697bc8517a3ee . could you upgrade three.quarks
to the latest version and give a try on that
Is your feature request related to a problem? Please describe. Particle systems that have been made a child of a moving object seem to lag behind that parent object as it moves.
Describe the solution you'd like I think ideally in this situation, spawned particles should appear in a fixed position in the parent object's local space.
Describe alternatives you've considered Unfortunately, I can't see a way around this (other than just putting up with the discrepancy in position.
Additional context In this video, the ship reverses full speed before apply force upward (and the thruster turns on), however you'll notice that the thruster appears to be closer to the ship and then further away as it lags behind the ship's position (to clarify, these are not emitted in world space).
https://github.com/user-attachments/assets/4a0d3e66-2451-4afc-81f1-0c6e199054cf