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

Rapidity debugging (and "Strano 2019") #16

Closed WrathfulSpatula closed 5 years ago

WrathfulSpatula commented 5 years ago

This branch started out devoted to experimenting with the consequences of a preprint paper of mine, "in simulo." As has been the way, this pointed to me to other bugs and potential improvements in the base code.

Particularly, it seems I was mixing special and general treatments, between quantities calculated based on the assumption of pure Minkowski metric, and those designed to work in generally curved backgrounds. Converting everything to work for generally curved backgrounds, and reconsidering and rewriting the rapidity-to-velocity conversion in particular, we end up with collision mechanics that seem much more stable, in terms of independence from the player's inertial/accelerated perspective.

The work of "Strano 2019" is also in this branch, but it's turned completely off, toggled by a checkbox in the ROs and player controller, moved unobtrusively to the very bottom on the editor control panels. It need never be used, and it is easily hidden or removed, hence I feel comfortable to merge this, for the other improvements. I suspect, that if upstream ever wants a pull request from here, this would probably be removed, along with the equivalent modification to the Schwarzschild metric. That would be fine, by me, but, I've ensured, that can be easily addressed if that situation ever arises.