Newtonian Gravity on Mobile

  • ElectricGun100
    4th May 2019 Member 0 Permalink

    Newtonian gravity is delayed in the mobile version of tpt. Whenever i play my PC saves (guns obv. ) it kinda breaks. For example my graviton grenade launcher, the graviton grenade just breaks and explode though in PC it works fine; launch, moves, explode. Is there a way that i can fix this or am i missing something? plz help, thank you. 

  • jacob1
    4th May 2019 Developer 0 Permalink
    TPT can be compiled with or without fast newtonian gravity. We use an external library (fftw3f) to do the calculations quickly for us. On the PC versions, this is enabled. On Android, I couldn't get the library to compile so it's disabled.

    I think it's probably doable to get it working on Android ... but I don't have enough time or experience with Android development to figure it out. I'm also being held back by the sdl port I used to make it run on Android. It takes control of the process to compile external libraries and makes it harder to work with.

    Anyway, GRVT is barely usable on Android due to this issue. It probably won't be solved any time soon.
    Edited once by jacob1. Last: 4th May 2019