vm6502q / OpenRelativity

An open source framework to add the effects of traveling at relativistic speeds to visualizations or games
17 stars 2 forks source link

RelativisticAudioSource gravity position #36

Open WrathfulSpatula opened 3 years ago

WrathfulSpatula commented 3 years ago

I've focused my attention with RelativisticAudioSource position, delayed by the sound of sound, on inertial objects. The simulation doesn't respect the relativistic rocket equation for quasi-Newtonian world gravity, and it will likely linearly interpolate background curvature co-motion toward collision points where co-motion itself will generally not be linear. Also, multiple rapid collisions will interpolate toward the last point of velocity change, not through the segmented path of multiple collisions.

For video game purposes, the typical use cases seem acceptable. I don't put as much emphasis on this as on collider tracking, in part because the accuracy of the sound position has 0 effect on the accuracy of RelativisticObject PhysX collision trajectory. However, there are known issues.

It might make sense to return to this known and accepted set of limitations and approximations at some point. I'm opening this issue ticket to keep this in mind, but I'm tagging this "won't fix" for the time being.