Class BodyMotionNothing

All Implemented Interfaces:
BodyMotion, Motion, RoleStateChange, IAnnotatedComponent

public class BodyMotionNothing extends BodyMotionBase
  • Constructor Details

  • Method Details

    • computeSteering

      public boolean computeSteering(@Nonnull Ref<EntityStore> ref, @Nonnull ExecutionSupport executionSupport, @Nullable InfoProvider sensorInfo, double dt, @Nonnull Steering desiredSteering, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
      Description copied from interface: Motion
      Calculate desired steering for MotionController.
      Parameters:
      ref - The entity ref
      executionSupport - The ExecutionSupport
      sensorInfo - SensorInfo with PositionProvider, PathProvider, etc. if required
      dt - The interval in seconds for this calculation
      desiredSteering - The computed steering force for the MotionController
      componentAccessor - The entity store
      Returns:
      false when the end condition has been reached, true if must be called again to reach end condition or is infinite.