SteeringForceWander

public class SteeringForceWander implements SteeringForce

Class SteeringForceWander. Provides steeringforcewander functionality for the Hytale server.

java.lang.Object > SteeringForceWander

Field Summary

time

private double time

Field time.

turnInterval

private double turnInterval

Field turnInterval.

jitter

private double jitter

Field jitter.

velocity

final Vector3d velocity

Field velocity.

velocity2

final Vector3d velocity2

Field velocity2.

Method Detail

SteeringForceWander

public public SteeringForceWander ()

Method SteeringForceWander.

setTurnTime

public void setTurnTime (final double t)

Method setTurnTime.

Parameters:
final double t

updateTime

public void updateTime (final double dt)

Method updateTime.

Parameters:
final double dt

setHeading

public void setHeading (final float heading)

Method setHeading.

Parameters:
final float heading

compute

public boolean compute (@Nonnull final Steering output)

Method compute.

Parameters:
@Nonnull final Steering output