[QUESTION] Particles

Discussion in 'Spigot Plugin Development' started by LazyDev, Oct 15, 2016.

  1. How can i do this using ParticleAPI ?

    pppp.png
     
  2. Choco

    Moderator

    You're looking at a liiiitle bit of trigonometry there. I wouldn't know how to make that shape in specific, but I guarantee you that sin and cos are involved. Looks perhaps like sin on all three axis. I could be wrong on that though. Also, don't worry about an external library such as ParticleAPI when you have World#spawnParticle() and Player#spawnParticle().
     
  3. First you need a mathematical description for that shape. This is the hard part, we cant/wont help you. Realising this with Bukkit is minor work compared to this
     
  4. Looks like a somewhat simple 3D parametric. Try look at it from the X, Y, and Z plane and see how the particle moves on each plane so you can come up with an equation for the the XYZ coordinate.