Class SteeringForceAvoidCollision

java.lang.Object
com.hypixel.hytale.server.npc.movement.steeringforces.SteeringForceWithGroup
com.hypixel.hytale.server.npc.movement.steeringforces.SteeringForceAvoidCollision
All Implemented Interfaces:
SteeringForce

public class SteeringForceAvoidCollision extends SteeringForceWithGroup
  • Field Details

    • selfVelocity

      private final Vector3d selfVelocity
    • selfRadius

      private double selfRadius
    • collisionTime

      private double collisionTime
    • colliderPosition

      private final Vector3d colliderPosition
    • tempTime

      private final double[] tempTime
    • tempPos

      private final Vector3d tempPos
    • tempVel

      private final Vector3d tempVel
    • maxDistance

      private double maxDistance
    • falloff

      private double falloff
    • strength

      private double strength
    • avoidanceMode

      private Role.AvoidanceMode avoidanceMode
    • selfReference

      private Ref<EntityStore> selfReference
    • otherReference

      @Nullable private Ref<EntityStore> otherReference
    • velocity

      private double velocity
    • maxTime

      private double maxTime
    • canSlowDown

      private boolean canSlowDown
    • overlap

      private boolean overlap
    • lastSteeringDirection

      @Nonnull protected final Vector3d lastSteeringDirection
    • debug

      private boolean debug
  • Constructor Details

    • SteeringForceAvoidCollision

      public SteeringForceAvoidCollision()
  • Method Details