public class BodyMotionMatchLook extends BodyMotionBase
Class BodyMotionMatchLook. Provides bodymotionmatchlook functionality for the Hytale server.
java.lang.Object > BodyMotionBase > BodyMotionMatchLook
Field Summary
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
headYaw
final
float
headYaw
Field headYaw.
Method Detail
BodyMotionMatchLook
Method BodyMotionMatchLook.
- Parameters:
@Nonnull final BuilderBodyMotionBasebuilderMotionBase
computeSteering
public
boolean
computeSteering
(@Nonnull final Ref ref, @Nonnull final Role role, @Nullable final InfoProvider sensorInfo, final double dt, @Nonnull final Steering desiredSteering, @Nonnull final ComponentAccessor componentAccessor)
Method computeSteering.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerole@Nullable final InfoProvidersensorInfofinal doubledt@Nonnull final SteeringdesiredSteering@Nonnull final ComponentAccessorcomponentAccessor