BodyMotionMatchLook

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

public public BodyMotionMatchLook (@Nonnull final BuilderBodyMotionBase builderMotionBase)

Method BodyMotionMatchLook.

Parameters:
@Nonnull final BuilderBodyMotionBase builderMotionBase

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 Ref ref
@Nonnull final Role role
@Nullable final InfoProvider sensorInfo
final double dt
@Nonnull final Steering desiredSteering
@Nonnull final ComponentAccessor componentAccessor