com.yobotics.simulationconstructionset.util.perturbance
Class ForcePerturbance
java.lang.Object
com.yobotics.simulationconstructionset.util.perturbance.ForcePerturbance
- All Implemented Interfaces:
- DirectedPerturbance
public class ForcePerturbance
- extends java.lang.Object
- implements DirectedPerturbance
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ForcePerturbance
public ForcePerturbance(ForcePerturbable forcePerturbable,
double magnitude,
double duration,
double ballVelocityMagnitudeForViz,
YoVariableRegistry parentRegistry)
perturb
public void perturb(javax.vecmath.Vector3d direction)
- Specified by:
perturb
in interface DirectedPerturbance
getBallVelocityMagnitude
public double getBallVelocityMagnitude()
- Specified by:
getBallVelocityMagnitude
in interface DirectedPerturbance
getBallMass
public double getBallMass()
- Specified by:
getBallMass
in interface DirectedPerturbance
doEveryTick
public void doEveryTick()
- Specified by:
doEveryTick
in interface DirectedPerturbance
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object