Accretion

  • hiroki75
    30th Nov 2013 Member 1 Permalink

    Basically, the idea is there would be an option that gives every particle a gravitational attraction. With no gravity, you could create saves that show planets, moons, and other celestial bodies forming.

  • therocketeer
    30th Nov 2013 Member 0 Permalink
    @hiroki75 (View Post)
    This would be currently impossible because only static particles are able to have an influence on the Newtonian gravity field. i.e powders cannot emit a gravitational force while they are moving (note how GBMB is always stationary when it undergoes a gravity explosion). I asked @Jacob1 about this on IRC, such idea might be possible if an algorithm was coded that allowed moving particles to influence the gravity map.
  • boxmein
    30th Nov 2013 Former Staff 1 Permalink
    @hiroki75 (View Post)
    Well in the very start that was in fact the reason Newtonian Gravity was introduced. That, and white/black holes that aren't air-holes. It's just that the current threaded implementation updates really infrequently on machines which can't have it run more frequently, so having particles that fly around would be real slow.

    You can actually do this with a few edits to GPMP:
    image

    !set temp gpmp 1000
    tpt.el.gpmp.falldown = 1
    tpt.el.gpmp.gravity = 1
    tpt.el.gpmp.diffusion = 0.15
    tpt.el.gpmp.advection = 0.4
    tpt.el.gpmp.airdrag = 0.04
    tpt.el.gpmp.airloss = 0.94
    Edited 2 times by boxmein. Last: 30th Nov 2013
  • therocketeer
    30th Nov 2013 Member 0 Permalink
    @boxmein (View Post)
    nice I didn't think of editing gbmb scripts..
    but you also need to somehow add a script that allows the GBMB particles to also be affected by its own gravity to get the effect described by @hiroki75
  • nucular
    30th Nov 2013 Member 0 Permalink
    Just sayin, GRVT (Graviton, energy particles which emit a gravitational field) works really well on my mod, without any noticeable bugs.