public class Steering
Class Steering. Provides steering functionality for the Hytale server.
java.lang.Object > Steering
Field Summary
maxDistance
Field maxDistance.
maxDistanceComponentSelector
Field maxDistanceComponentSelector.
hasTranslation
Field hasTranslation.
yaw
Field yaw.
hasYaw
Field hasYaw.
pitch
Field pitch.
hasPitch
Field hasPitch.
roll
Field roll.
hasRoll
Field hasRoll.
relativeTurnSpeed
Field relativeTurnSpeed.
hasRelativeTurnSpeed
Field hasRelativeTurnSpeed.
steering
Field steering.
temp
Field temp.
Method Detail
Steering
public
Steering
()
Method Steering.
equals
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
int
hashCode
()
Method hashCode.
getX
double
getX
()
Method getX.
getY
double
getY
()
Method getY.
getZ
double
getZ
()
Method getZ.
setTranslationRelativeSpeed
Method setTranslationRelativeSpeed.
- Parameters:
final doublerelativeSpeed
scaleTranslation
Method scaleTranslation.
- Parameters:
final doublespeedFactor
ensureMinTranslation
Method ensureMinTranslation.
- Parameters:
final doublerelativeSpeed
getMaxDistance
double
getMaxDistance
()
Method getMaxDistance.
setMaxDistance
void
setMaxDistance
(final double maxDistance)
Method setMaxDistance.
- Parameters:
final doublemaxDistance
clearMaxDistance
void
clearMaxDistance
()
Method clearMaxDistance.
getMaxDistanceComponentSelector
Method getMaxDistanceComponentSelector.
setMaxDistanceComponentSelector
Method setMaxDistanceComponentSelector.
- Parameters:
final Vector3dmaxDistanceComponentSelector
clearMaxDistanceComponentSelector
void
clearMaxDistanceComponentSelector
()
Method clearMaxDistanceComponentSelector.
getYaw
float
getYaw
()
Method getYaw.
clearYaw
void
clearYaw
()
Method clearYaw.
getPitch
float
getPitch
()
Method getPitch.
setPitch
Method setPitch.
- Parameters:
final floatangle
clearPitch
void
clearPitch
()
Method clearPitch.
getRoll
float
getRoll
()
Method getRoll.
clearRoll
void
clearRoll
()
Method clearRoll.
setRelativeTurnSpeed
Method setRelativeTurnSpeed.
- Parameters:
final doublerelativeTurnSpeed
hasTranslation
boolean
hasTranslation
()
Method hasTranslation.
hasYaw
boolean
hasYaw
()
Method hasYaw.
hasPitch
boolean
hasPitch
()
Method hasPitch.
hasRoll
boolean
hasRoll
()
Method hasRoll.
getSpeed
double
getSpeed
()
Method getSpeed.
getRelativeTurnSpeed
double
getRelativeTurnSpeed
()
Method getRelativeTurnSpeed.
toString
String
toString
()
Method toString.