SteeringForceWithTarget

abstract class SteeringForceWithTarget implements SteeringForce

Class SteeringForceWithTarget. Provides steeringforcewithtarget functionality for the Hytale server.

java.lang.Object > SteeringForceWithTarget

Field Summary

componentSelector

private Vector3d componentSelector

Field componentSelector.

Method Detail

SteeringForceWithTarget

public public SteeringForceWithTarget ()

Method SteeringForceWithTarget.

getSelfPosition

public Vector3d getSelfPosition ()

Method getSelfPosition.

setSelfPosition

public void setSelfPosition (@Nonnull final Vector3d selfPosition)

Method setSelfPosition.

Parameters:
@Nonnull final Vector3d selfPosition

getTargetPosition

public Vector3d getTargetPosition ()

Method getTargetPosition.

setTargetPosition

public void setTargetPosition (@Nonnull final Vector3d targetPosition)

Method setTargetPosition.

Parameters:
@Nonnull final Vector3d targetPosition

setPositions

public void setPositions (@Nonnull final Vector3d self, @Nonnull final Vector3d target)

Method setPositions.

Parameters:
@Nonnull final Vector3d self
@Nonnull final Vector3d target

setComponentSelector

public void setComponentSelector (final Vector3d componentSelector)

Method setComponentSelector.

Parameters:
final Vector3d componentSelector

compute

public boolean compute (final Steering output)

Method compute.

Parameters:
final Steering output