Class VortexForceModule

java.lang.Object
foundry.veil.api.quasar.emitters.module.force.SimplePositionedForce
foundry.veil.api.quasar.emitters.module.force.VortexForceModule
All Implemented Interfaces:
PositionedForce, ForceParticleModule, ParticleModule

public class VortexForceModule extends SimplePositionedForce
  • Constructor Details

    • VortexForceModule

      public VortexForceModule(VortexForceData data)
    • VortexForceModule

      public VortexForceModule(org.joml.Vector3dc vortexAxis, org.joml.Vector3dc vortexCenter, boolean localPosition, double range, float strength)
  • Method Details

    • applyForce

      public void applyForce(QuasarParticle particle)
    • getVortexAxis

      public org.joml.Vector3dc getVortexAxis()
    • setVortexAxis

      public void setVortexAxis(double x, double y, double z)
    • setVortexAxis

      public void setVortexAxis(org.joml.Vector3dc axis)
    • setRange

      public void setRange(double range)
    • setStrength

      public void setStrength(float strength)